foxfirefey (
foxfirefey) wrote in
macapps2010-02-26 09:37 pm
Entry tags:
Enabling debugging for Safari
If you do web development, this might be useful to know about Safari. You can open up the terminal and use these commands to enable some of the built in debugging tools:
I don't know much about what the debug menu does, but the developer extras is quite useful. You'll need to restart the browser before it works. Right click on the screen, and then select "Inspect Element" to see the interface.
defaults write com.apple.Safari IncludeInternalDebugMenu 1 defaults write com.apple.Safari WebKitDeveloperExtras -bool true
I don't know much about what the debug menu does, but the developer extras is quite useful. You'll need to restart the browser before it works. Right click on the screen, and then select "Inspect Element" to see the interface.

no subject
I really like the 'inspect element' option, thank you for the info!
no subject
Most users are users that don't do much web dev debugging, so having those features on by default makes clutter, and Apple prefers to declutter for the average user. I do think it would be nice, however, to have these options more easily turn on-able in the preferences pane!
no subject
Exactly my thinking - the choice of activating the menu entries should be up to the user. But then again, user's choice isn't very Apple (Steve knows best) ;)
By "disabled by default" I meant "out of reach for everyone but shell programmers". The Mac is supposed to be a tool for creative people (and heck, I know some pretty creative web designers), so I don't understand why these features are hidden.
Sorry if I didn't make myself clear in my first reply.
no subject
no subject