1. Home
  2. Computing & Technology
  3. Macs

Safari 4 Debug Menu: Enable Safari 4’s Debug Menu
Safari 4’s Hidden Menu

By , About.com Guide

Safari 4 Debug Menu - Enable Safari 4’s Debug Menu

Use Terminal to enable Safari's debug menu

Safari has long had a hidden Debug menu that contains some very useful capabilities. When Apple rolled out Safari 4, many of these capabilities found their way into Safari’s Develop menu. The hidden Debug menu still exists, though, and offers plenty of helpful resources, even if you aren’t a developer.

Enable Safari 4 Debug Menu

  1. Launch Terminal, located at /Applications/Utilities/Terminal.
  2. Enter the following command line into Terminal. You can copy/paste the text into Terminal, or you can simply type the text as shown. The command is a single line of text, but your browser may break it into multiple lines. Be sure to enter the command as a single line in Terminal.
  3. defaults write com.apple.Safari IncludeInternalDebugMenu 1
  4. Press enter or return.
  5. Relaunch Safari. The new Debug menu will be available.

Disable Safari 4’s Debug Menu

If for some reason you want to disable the Debug menu, you can do so at any time, using Terminal.
  1. Launch Terminal, located at /Applications/Utilities/Terminal.
  2. Enter the following command line into Terminal. You can copy/paste the text into Terminal, or you can simply type the text as shown. The command is a single line of text, but your browser may break it into multiple lines. Be sure to enter the command as a single line in Terminal.
  3. defaults write com.apple.Safari IncludeInternalDebugMenu 0

  4. Press enter or return.
  5. Relaunch Safari. The Debug menu will be gone.
Explore Macs
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Macs
  4. Using Your Mac
  5. Safari 4 Debug Menu - Enable Safari 4’s Debug Menu>

©2009 About.com, a part of The New York Times Company.

All rights reserved.