Tip Details Add a Related Tip

Rate as: Positive Negative

web development debugging in Safari

If you are trying to do web development using Safari, or debug a problem that is occurring in Safari, there is a hidden debug menu that will make your job a lot easier.

To get it, close Safari (make sure it is completely closed, not still open in the dock). Then open up a terminal window and type the following:

defaults write com.apple.Safari IncludeDebugMenu 1

Restart Safari and you'll now see a Debug menu to the right of the Help menu. The debug menu provides things like showing the DOM/rendering/view trees, a good javascript console, and code profiling to name but a few things.
Rating: 100% positive, 2 total Votes
Categories: browsers safari OS X Mac
Added: on Apr 16, 2007 at 9:23 pm
Added By: ang
Searches: safari mac menu debug

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Safari private browsing is not private

Categories: Safari Privacy browsers Mac
100% positive, 0 comments
– Tip added by an anonymous user on Mar 06, 2009 at 7:33 am

Opening new tabs in Safari 3.1

100% positive, 0 comments
– Tip added by an anonymous user on Mar 18, 2008 at 7:52 am

Setting Firefox as the default browser on a Mac

Categories: Mac browsers firefox safari
100% positive, 0 comments
– Tip added by an anonymous user on May 30, 2007 at 2:54 pm

Set the history lifetime in Safari

no ratings, 0 comments
– Tip added by an anonymous user on Mar 07, 2009 at 2:49 pm

Safari search history

no ratings, 0 comments
– Tip added by an anonymous user on Oct 08, 2008 at 2:50 pm

Gimp no longer working on Mac OS X 10.5.7

Categories: gimp X11 Mac OS X 10.5.7
83% positive, 1 comment - last added on Oct 13, 2009 at 2:19 pm
– Tip added by an anonymous user on May 28, 2009 at 4:52 pm

Safari 4 breaks XCode

Categories: XCode Safari Mac
100% positive, 0 comments
– Tip added by an anonymous user on Feb 27, 2009 at 9:22 am

Forcing new windows to open in tabs instead in Safari

100% positive, 0 comments
– Tip added by an anonymous user on Jul 20, 2009 at 11:03 am

Showing Safari 4 bookmarks without Cover Flow

66% positive, 3 comments - last added on Aug 14, 2009 at 7:15 am
– Tip added by an anonymous user on Mar 09, 2009 at 4:32 pm

Mac shortcuts for shutting down

100% positive, 0 comments
– Tip added by an anonymous user on Oct 16, 2008 at 9:35 am

Using the tab key to switch between dialog buttons

Categories: Mac keyboard shortcut OS X
100% positive, 0 comments
– Tip added by an anonymous user on Oct 15, 2008 at 2:27 pm

Organizing mailboxes in Snow Leopard

Categories: Mac Snow Leopard Mac
100% positive, 0 comments
– Tip added by an anonymous user on Oct 15, 2009 at 9:03 am

Set the Topsites page as your homepage in Safari 4

100% positive, 3 comments - last added on Jun 17, 2009 at 1:55 pm
– Tip added by an anonymous user on Mar 25, 2009 at 10:28 am

Or simply run multiple profiles with Firefox

Categories: browsers firefox Mac
100% positive, 0 comments
– Tip added by an anonymous user on Mar 09, 2009 at 10:33 am

Change tab location in Safari 4

100% positive, 0 comments
– Tip added by an anonymous user on Feb 26, 2009 at 6:52 am

Create your own system sounds on the Mac

100% positive, 0 comments
– Tip added by an anonymous user on Oct 07, 2008 at 1:20 pm

Application compatibility with Snow Leopard

no ratings, 0 comments
– Tip added by an anonymous user on Aug 27, 2009 at 4:40 pm

Run Safari 3 & 4 on the same computer

Categories: Mac Safari hack
no ratings, 0 comments
– Tip added by an anonymous user on Mar 08, 2009 at 7:36 am

Moving tabs in Safari 4

Categories: Safari browsers tabs
no ratings, 0 comments
– Tip added by an anonymous user on Feb 26, 2009 at 2:14 pm

Safari 4 beta now available

Categories: Safari beta Apple browsers
no ratings, 0 comments
– Tip added by an anonymous user on Feb 25, 2009 at 8:15 am