Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging javascript in Safari for Windows

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.

like image 699
Gil Faria Avatar asked Dec 23 '08 11:12

Gil Faria


People also ask

Can I debug Safari on Windows?

Debugging iPhone Safari on Windows using BrowserStack. BrowserStack makes iPhone Safari debugging simple, irrespective of the operating system being used. Windows users (on Windows XP, 7,8,10) can test and debug on the desired iPhone – Safari combination directly from their web browser (Firefox, Chrome, Safari, etc).

How do I debug JavaScript in Windows?

The Sources tool is where you debug JavaScript. To open the Console tool in DevTools, press Ctrl + Shift + J (Windows, Linux) or Command + Option + J (macOS).


1 Answers

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).

like image 81
Tamas Czinege Avatar answered Sep 21 '22 07:09

Tamas Czinege