[英]Debugging not working in Firefox - Firebug
我正在尝试使用Firebug在Firefox 3.0.8中调试基于extJS的JavaScript表单,但我的调试语句都没有工作。 console.log
生成错误console is not defined
在控制台中console is not defined
。 debugger
语句不起作用。
可能是您安装了另一个Firefox扩展程序,这对于Firebug的控制台来说很糟糕。 我安装了“HttpWatch Basic”,它破坏了console.log()..禁用了HttpWatch,一切都很好了。
你在使用Firefox 2.x吗?
在尝试登录之前,调用loadFirebugConsole()以显式加载记录器。
您可以尝试使用window.console.log()。 在IE中工作,可能在您的情况下工作FF3。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.