是否有一种适用于 Android 的 Firebug 或 JavaScript 控制台调试? [英] Is there a kind of Firebug or JavaScript console debug for Android?
问题描述
我正在开发一个移动网站.它适用于 Firefox 桌面.它适用于 iPhone,但当我在 Android 2.x(可能更低)上按下按钮时.我的 JavaScript 代码崩溃或其他什么...
I'm developing a website for mobile. It works on Firefox desktop. It works on iPhone, but when I press a buton on Android 2.x (and maybe lower). my JavaScript code crashes or what else...
我可以访问这些设备的记录器或 JavaScript 控制台吗?
Can I get access to the logger or JavaScript console for those devices?
最好是一种 Firebug 应用程序.
The better should be a kind of Firebug application.
推荐答案
一个选项是 温热.它提供 DOM &与控制台一起进行样式编辑.如果您不想自己设置,可以在 http://debug.phonegap.com上托管一个实例一个>
One option is weinre. It provides DOM & Style editing along with the console. If you don't want to set it up yourself, there is an instance hosted at http://debug.phonegap.com
另一个选项是 JSHybugger.无疑是目前安卓浏览器最完善的调试环境.这是一种付费产品,但可能值得.
The other option is JSHybugger. It's certainly the most complete debugging environment available for android browser. It's a paid product, but probably worth it.
这篇关于是否有一种适用于 Android 的 Firebug 或 JavaScript 控制台调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!