Enabling debugging for Safari
Feb. 26th, 2010 09:37 pmIf 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
Date: 2010-02-27 06:14 am (UTC)I really like the 'inspect element' option, thank you for the info!
no subject
Date: 2010-02-27 06:20 am (UTC)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
Date: 2010-02-27 07:18 am (UTC)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
Date: 2010-02-27 05:47 pm (UTC)no subject
Date: 2010-02-27 07:52 pm (UTC)