Safari and Javascript debugging
Sep 10, '03 09:54:00AM
Contributed by: Nimitz
Want an easy way to debug Javascript?
- Activate the debug menu in Safari, either by using the excellent Safari Enhancer or by shell command
defaults write com.apple.Safari IncludeDebugMenu 1
- Check the option "Log JavaSript Exceptions" in the Debug menu
- Check your Console.app and there is your output!
[robg adds: Mozilla also has access to a Javascript debugger in the Tools -> Web Development menu.]
Comments (4)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20030906093300383