Safari web developer debug mode

I always forget the Safari has a Debug mode for when you are developing web apps which allows the logging of JavaScript errors. To display the debug menu in Mac OS X, open the Terminal and type:

defaults write com.apple.Safari IncludeDebugMenu 1

To display the debug menu in Safari 3.0 for Windows, use a text editor to add the following to the Preferences.plist file located at C:\Documents and Settings\USERNAME\Application Data\Apple Computer\Safari\Preferences.plist :

view plain print about
1<key>IncludeDebugMenu</key>
2<true/>

Posted: 01-Nov-2007

View: 9637

Permalink: here

Comments

If editing the file on Windows doesn't work, you can add a command line switch.
"C:\Program Files\Safari\Safari.exe" /enableDebugMenu

This seems to make the change permanently.

#1 Graham
08/Jan/08 8:14 AM