berdn: Web-Entwicklung im Safari

Beitrag lesen

Schau mal hier
http://developer.apple.com/internet/safari/safari_faq.html

Dort findest Du

14. How do I debug JavaScript in Safari?

In order to help debugging your site's JavaScript interaction with Safari, the Safari "Debug" menu allows you to turn on the logging of JavaScript errors to the Console. To display the debug menu, open a Terminal window and type:

defaults write com.apple.Safari IncludeDebugMenu 1

Launch the Console application (/Applications/Utilities/Console), launch Safari and check "Log Javascript Exceptions" in the Debug menu.