Found this on AListApart.com
August 20th, 2007It was amazingly valuable for debugging JS.
–
Safari also has a javascript debugger. You need to enable the Debug menu in safari, which can be done by typing the following into terminal (make sure safari is closed):
% defaults write com.apple.Safari IncludeDebugMenu 1
Then relaunch safari, and from the debug menu you can open a js console.
–
Amazing.
Leroy is a Zend PHP Certified Engineer from Crestview FL. He has been computing nearly two decades, drag-racing for 12 years and spent a year with a band as a guitarist

January 28th, 2008 at 10:47 am
Mark had something to add for this one:
–
An add-on called Firebug (for
firefox of course but…(https://addons.mozilla.org/en-US/firefox/addon/1843
is simply amazing for not only debugging javascript, but figuring out issues
with HTML layout, style and more. You may already know about it, but if
not, wanted to pass on the info
–
Thanks Mark!!