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

