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

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

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

New screen capture options in Leopard

100% positive, 3 comments - last added on Jun 06, 2008 at 6:55 am
– Tip added by mollyp on Jan 22, 2008 at 12:36 pm

Quick Mac Calculator

66% positive, 2 comments - last added on Jun 09, 2008 at 9:12 am
– Tip added by an anonymous user on Jun 09, 2008 at 7:45 am

Customize the Mac login screen

100% positive, 0 comments
– Tip added by skyper on Mar 24, 2008 at 11:11 am

Use the expanded print dialog by default

Categories: Mac OS X customization
100% positive, 0 comments
– Tip added by an anonymous user on Jan 20, 2008 at 10:31 am

web clip widgets

100% positive, 0 comments
– Tip added by an anonymous user 5 days, 8 hours ago

Adding searches to the Finder sidebar

100% positive, 0 comments
– Tip added by an anonymous user on Jun 27, 2008 at 9:07 am

Quick searches in Safari

Categories: Mac safari search shortcut
100% positive, 0 comments
– Tip added by an anonymous user on Jun 25, 2008 at 9:26 am

running multiple firefox versions on a Mac

Categories: browsers firefox Mac
100% positive, 1 comment - last added on Jun 18, 2008 at 7:58 am
– Tip added by an anonymous user on Jun 18, 2008 at 7:53 am

Change in Spaces behavior

Categories: Mac OS X Spaces Leopard
100% positive, 0 comments
– Tip added by an anonymous user on Jun 02, 2008 at 10:35 am

Changing the default application

Categories: Mac Finder OS X
100% positive, 0 comments
– Tip added by an anonymous user on May 22, 2008 at 10:32 am

Determine PDF sizes based on the icon

Categories: Mac pdf icons OS X
100% positive, 0 comments
– Tip added by an anonymous user on May 20, 2008 at 2:50 pm

Mac boot sound

100% positive, 0 comments
– Tip added by an anonymous user on May 09, 2008 at 1:08 pm

Close Safari tabs with middle mouse click

100% positive, 0 comments
– Tip added by an anonymous user on Apr 15, 2008 at 7:38 pm

Resize text area inputs in Safari

50% positive, 0 comments
– Tip added by an anonymous user on Feb 25, 2008 at 7:44 am

Moving tabs between windows in Safari

Categories: browsers safari
no ratings, 0 comments
– Tip added by an anonymous user on Feb 18, 2008 at 7:43 am

Close all tabs but one in Safari

Categories: safari browsers
no ratings, 0 comments
– Tip added by an anonymous user on Jan 03, 2008 at 7:42 am

Searching by Labels in Spotlight

Categories: Mac Spotlight OS X search
no ratings, 0 comments
– Tip added by an anonymous user on Jan 01, 2008 at 8:11 am

Merging Windows in Safari 3

Categories: safari browsers
no ratings, 0 comments
– Tip added by an anonymous user on Dec 29, 2007 at 7:39 am