在Safari中为Windows调试javascript [英] Debugging javascript in Safari for Windows

查看:182
本文介绍了在Safari中为Windows调试javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有在Windows Vista中使用Safari 3.2调试JavaScript的方法吗?

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

我发现了一个链接到名为Drosera的调试器,但我无法让它工作,因为信息接缝过时。

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

推荐答案

除了可以从开发菜单打开的错误控制台可以在(在菜单栏中的Prefences /高级/显示开发菜单)启用在Safari AFAIK中没有太多的JavaScript调试选项。

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.

非常有用,因为它显示JavaScript错误,并允许您执行任意Javascript语句。

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

因为你是在Windows上反正,你可以尝试使用内置的Javascript调试器 Google Chrome ,这是一个与Safari非常相似的浏览器(虽然Javascript引擎不同)。

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

这篇关于在Safari中为Windows调试javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆