Debugging javascript in Safari for Windows

Gil Faria picture Gil Faria · Dec 23, 2008 · Viewed 36.2k times · Source

Is there a way to debug javascript using Safari 3.2 in Windows Vista?

I found a link to a debugger named Drosera but I can't get it to work because the information seams to be outdated.

Answer

Tamas Czinege picture Tamas Czinege · Dec 23, 2008

Well, apart from the Error Console that can be opened from the Develop menu (which in turn can be enabled in (Prefences / Advanced / Show Develop menu in menu bar) there aren't many javascript debugging options in Safari AFAIK.

Still, the error console is quite useful as it shows javascript errors and also lets you to execute arbitrary Javascript statements.

Since you are on Windows anyway, you could try using the inbuilt Javascript debugger of Google Chrome, which is a browser very similar to Safari (although the Javascript engine is different).