Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you debug javascript in Safari?

How do you debug javascript in Safari on Windows. I've tried google but the only thing that seems to be coming up is Safari Enhancer which is for Mac OS.

like image 374
code511788465541441 Avatar asked Mar 09 '11 14:03

code511788465541441


People also ask

Does Safari have a debugger?

Safari includes Web Inspector, a powerful tool that makes it easy to modify, debug, and optimize websites for peak performance and compatibility on both platforms. And with Responsive Design Mode, you can preview your web pages in various screen sizes, orientations, and resolutions.

How do I fix JavaScript error in Safari?

Try turning off JavaScript and check if Safari loads the problematic website. Launch Safari, go to Preferences and click on the Security tab. Then untick the Enable JavaScript checkbox to disable this option.

How do I debug JavaScript on iPhone?

Open the iPhone Settings menu. On an iPhone with an early version of iOS, access the Debug Console through Settings > Safari > Developer > Debug Console. When Safari on the iPhone detects CSS, HTML, and JavaScript errors, details of each display in the debugger.


1 Answers

not sure if in Windows is the same, but on the mac version you have a Developer menu ("Develop"), at the mac this menu is shown via the preferences > advanced > show develop menu, and there you can view items such as "Start debugging javascript".

EDIT: just found this: Enabling debug menu in Safari for Windows

like image 60
jackJoe Avatar answered Sep 28 '22 09:09

jackJoe