defaults write com.apple.Safari IncludeDevelopMenu -bool true
defaults write com.apple.Safari.SandboxBroker ShowDevelopMenu -bool true
Seems to work. Sorry for this dumb post (and I can't seem to find the delete option lol)
If you assign it as a configuration profile with the following setting does it work? The domain in question should be the com.apple.Safari.SandboxBroker setting still.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>ShowDevelopMenu</key> <true/> </dict> </plist>
Check out the iMazing Profile Editor app if you haven't. It can write it for you with just a check box.