SafariForWebKitDevelopment preferences crash, can't enable develop menu

I'm trying to run safari with a build of webkit that includes Atomics.waitAsync, and I can't enable the develop menu as the settings screen crashes. Is there a way to workaround this bug, by enabling the develop menu in the terminal? Or do I need to downgrade my MacOS version

https://share.cleanshot.com/3Q5XFw

kEventMenuPopulate to menu 'Safari'
kEventMenuPopulate to menu 'Debug'
2022-12-04 16:28:38.903 SafariForWebKitDevelopment[13812:2325596] *** Assertion failure in -[NSMenuItem initWithTitle:action:keyEquivalent:], NSMenuItem.m:467
2022-12-04 16:28:38.905 SafariForWebKitDevelopment[13812:2325596] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: aString != nil'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007ff80f10141b __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff80ec4fe25 objc_exception_throw + 48
	2   Foundation                          0x00007ff80ffa3fb0 -[NSCalendarDate initWithCoder:] + 0
	3   AppKit                              0x00007ff8121c08bc -[NSMenuItem initWithTitle:action:keyEquivalent:] + 363
	4   Safari                              0x00007ff9197fb5cd +[NSMenuItem(BrowserExtras) safari_menuItemForFileAtPath:] + 140
	5   Safari                              0x00007ff9196a1da0 -[GeneralPreferences _updateDownloadLocationMenu] + 158
	6   libdispatch.dylib                   0x00007ff80ee2c7fb _dispatch_call_block_and_release + 12
	7   libdispatch.dylib                   0x00007ff80ee2da44 _dispatch_client_callout + 8
	8   libdispatch.dylib                   0x00007ff80ee3a7b9 _dispatch_main_queue_drain + 952
	9   libdispatch.dylib                   0x00007ff80ee3a3f3 _dispatch_main_queue_callback_4CF + 31
	10  CoreFoundation                      0x00007ff80f0c7620 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
	11  CoreFoundation                      0x00007ff80f087ba0 __CFRunLoopRun + 2454
	12  CoreFoundation                      0x00007ff80f086b90 CFRunLoopRunSpecific + 560
	13  HIToolbox                           0x00007ff8189c76a6 RunCurrentEventLoopInMode + 292
	14  HIToolbox                           0x00007ff8189c74b6 ReceiveNextEventCommon + 679
	15  HIToolbox                           0x00007ff8189c71f3 _BlockUntilNextEventMatchingListInModeWithFilter + 70
	16  AppKit                              0x00007ff8121ccf63 _DPSNextEvent + 909
	17  AppKit                              0x00007ff8121cbde4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
	18  Safari                              0x00007ff919419253 -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 224
	19  AppKit                              0x00007ff8121be423 -[NSApplication run] + 586
	20  AppKit                              0x00007ff812192457 NSApplicationMain + 817
	21  Safari                              0x00007ff9197c1e77 SafariMain + 464
	22  dyld                                0x00007ff80ec7c310 start + 2432
)
libc++abi: terminating with uncaught exception of type NSException
zsh: abort      ./SafariForWebKitDevelopment