Enabling the debug menu on Safari for Windows
Tuesday, 12 June 2007
I’ve been playing a bit with the new Safari for Windows and found a way to activate the debug menu that Mac OS X web developers were already used to.
You can enable the debug menu by editing the Preferences.plist
file which you can find in the C:\Documents and Settings\Your Username\Application Data\Apple Computer\Safari
directory. It’s just an XML file. Use your favorite text editor to open it.
Then add the following key at the bottom, just before the final </dict>
and </plist>
elements:
<key>IncludeDebugMenu</key> <true/>
Then restart Safari and you’re done!
Update: Alternatively you could also use one of the following command line options for the Safari.exe
executable: /enableDebugMenu
to enable the menu and /disableDebugMenu
to disable it. You only have to do this once, because Safari will remember this setting between sessions (it also stores this setting n the Preferences.plist
file that you can manually edit).
Thanks!
Just some additional notes. The file name is ‘Preferences.plist’ and on Windows Vista, the path is
C:\Users\Your Name\AppData\Roaming\Apple Computer\Safari
.Enabling the debug menu on Safari for Windows: Enabling the debug menu on Safari for Windows . “Turn off site-specific hacks” is one of the menu options.
That is VERY useful for debugging – thanks!
Awesome! I was looking for this. Thanks, worked like a charm!
Add the following:
if you want to use this alternative progress indicator.
For Windows Xp modify the file:
C:\Documents and Settings\[UserName]\Application Data\Apple Computer\Safari\Preferences\com.apple.Safari.plist
add the following line:
IncludeDebugMenu
That’s all.
Enjoy