There is some code that sets ENABLE_DEVELOPER_MODE in xcconfigs depending on whether the build is Production or Debug/Release. It is invalid to create behaviors that are different between these. There is almost no difference in usage scenarios between build modes - either can be produced by CI for validation, either can be used for local testing, etc. Seeing how it's used for making media elements debuggable, I'm certain that there is a better way to achieve the goal. I don't think that implementing this better way needs to be done as part of this patch. Not really sure what's up with developer modein WebInspectorUI, seems unused?
Created attachment 419863 [details] proposed patch
Committed r272679: <https://commits.webkit.org/r272679> All reviewed patches have been landed. Closing bug and clearing flags on attachment 419863 [details].
<rdar://problem/74206304>