簡體   English   中英

調試無法在Firefox中運行 - Firebug

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM