Click to search Andy Jarrett.co.uk RSS feed

Loading Twitter

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/>

Comments Comments (1) | Print Print | Send Send | 8052 Views

If you like what you see on the website and/or this post has helped you out in some way please consider donating to help keep me in beer vodka. The donations are made through Paypal, which accepts almost any credit card or eCheck.

(Comment Moderation is enabled. Your comment will not appear until approved.)
Graham's Gravatar Posted By Graham @ 1/8/08 8:14 AM
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.
BlogCFC by Raymond Camden + Twitter @AndyJ + ColdFusion jobs + Contact Me + Snippets/Downloads + RSS .