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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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
回答2:
Have you tried using the develop bar?
To enable, go to preferences -> Advanced -> Check show develop menu in the menu bar
回答3:
Right click on the page, and click "Inspect Element"
You'll get a pop-up with lots of tabs that looks kinda like firebug -- the console tab is what you want.