Geek Posted November 7, 2011 Posted November 7, 2011 <div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2011/11/debug-menu-safari.jpg" alt="Debug menu in Safari" title="debug-menu-safari" width="620" height="358" class="aligncenter size-full wp-image-23442" /></p> <p>Safari has a hidden “Debug” menu that offers some additional features for debugging the browser, including stress and load tests, sampling, javascript error logging, the ability to intentionally crash a page, and more. Intended for Safari developers, the Debug menu is different from the <a href="http://osxdaily.com/2011/11/03/enable-the-develop-menu-in-safari/">Developer menu</a>, which is geared more at web developers, although there are a few options in the Debug menu that general web developers would find useful as well, notably advanced cache choices and CSS animation controls. If this sounds confusing, just enable both of them and poke around and you’ll quickly see the differences.</p> <p><strong>How to Enable Safari’s Hidden Debug Menu</strong></p> <ul> <li>Quit Safari</li> <li>Launch the Terminal and enter the following defaults write command:</li> <p><code>defaults write com.apple.Safari IncludeInternalDebugMenu 1</code></p> <li>Relaunch Safari</li> </ul> <p>The “Debug” menu will be visible to the far right in Safari’s menubar choices. If you want to disable the menu, go back to the Terminal and type:</p> <p><code>defaults write com.apple.Safari IncludeInternalDebugMenu 0</code></p> <p>Again you will need to relaunch Safari for changes to take effect.</p> <p>We’ve poked around in the Debug menu before to <a href="http://osxdaily.com/2011/09/20/stop-safari-auto-refreshing-web-pages-in-mac-os-x-lion/">stop auto-refreshing</a> in Safari by disabling multi-process windows, that is no longer necessary with the latest version of Safari, however. <span id="more-23308"></span> <img src="http://osxdaily.com/wp-content/uploads/2011/11/safari-debug-menu.jpg" alt="Safari's hidden Debug menu" title="safari-debug-menu" width="265" height="500" class="aligncenter size-full wp-image-23443" /></p> </div> <p><a href="http://feedads.g.doubleclick.net/~a/skCf0BrRd3FM68UvWeg0N2d48VM/0/da"><img src="http://feedads.g.doubleclick.net/~a/skCf0BrRd3FM68UvWeg0N2d48VM/0/di" border="0" ismap="true"></img></a><br/> <a href="http://feedads.g.doubleclick.net/~a/skCf0BrRd3FM68UvWeg0N2d48VM/1/da"><img src="http://feedads.g.doubleclick.net/~a/skCf0BrRd3FM68UvWeg0N2d48VM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=HJNLkelLLQ8:gqm3wMB3b1U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=HJNLkelLLQ8:gqm3wMB3b1U:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=HJNLkelLLQ8:gqm3wMB3b1U:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=HJNLkelLLQ8:gqm3wMB3b1U:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=HJNLkelLLQ8:gqm3wMB3b1U:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=HJNLkelLLQ8:gqm3wMB3b1U:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=HJNLkelLLQ8:gqm3wMB3b1U:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/HJNLkelLLQ8" height="1" width="1"/> View the full article
Recommended Posts