Hiding the Safari debug menu

To show the debug menu, the terminal command is:

defaults write com.apple.Safari IncludeDebugMenu 1

And I've read that the command to hide it is

defaults write com.apple.Safari IncludeDebugMenu 0

But the latter—the command to hide it—ain't working. Any suggestions?

MacBook Pro with Retina display, macOS Sierra (10.12.5), null

Posted on Nov 20, 2017 9:29 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 20, 2017 11:53 AM

Quit safari.

Finder > Applications > Utilities > Terminal

Please try it again.

Copy and paste below written command and hit return.


defaults write com.apple.Safari IncludeInternalDebugMenu 0

Launch Safari and test.




To show Debug in the menu bar:

defaults write com.apple.Safari IncludeInternalDebugMenu 1


To hide Debug in the menu bar:


defaults write com.apple.Safari IncludeInternalDebugMenu 0

2 replies
Question marked as Top-ranking reply

Nov 20, 2017 11:53 AM in response to George Krompacky

Quit safari.

Finder > Applications > Utilities > Terminal

Please try it again.

Copy and paste below written command and hit return.


defaults write com.apple.Safari IncludeInternalDebugMenu 0

Launch Safari and test.




To show Debug in the menu bar:

defaults write com.apple.Safari IncludeInternalDebugMenu 1


To hide Debug in the menu bar:


defaults write com.apple.Safari IncludeInternalDebugMenu 0

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Hiding the Safari debug menu

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.