简体   繁体   English

Firebug - 从 .js 文件运行时看不到 console.log 输出

[英]Firebug - cant see console.log output when run from .js file

I am using mozilla developers edition with embed firebug.我正在使用带有嵌入萤火虫的 mozilla 开发者版。 When i use console.log() function from inside source javascript file, i cant see its output in firebug console.当我在源 javascript 文件中使用 console.log() 函数时,我无法在 firebug 控制台中看到它的输出。 When i type function directly into console prompt, everything is ok.当我直接在控制台提示符中输入函数时,一切正常。

Why is that?这是为什么?

Disable firebug and see if console prompt appear in build-in developer tool.禁用 firebug 并查看控制台提示是否出现在内置开发人员工具中。 If yes, reinstall firebug.如果是,请重新安装firebug。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM