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.
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 |

