问题描述
我想在firefox中使用简单的console.log函数
console.log(Hello World!)
您可以尝试:
您也可以在独立的HTML文件中尝试完整的代码:
< html>
< head>
< meta content =text / html; charset = utf-8http-equiv =Content-Type>
< script type =text / javascript>
console.log(Hello World!);
< / script>
< / head>
< / html>
我使用chrome获取控制台日志
但是在firefox中我看不到日志。
我试过了萤幕控制台,而且 + + >
两者都不会在Firefox中显示日志消息。 PS,我重新启动FF,重新启动Windows,尝试在另一台机器上,并删除FF配置文件,并创建另一个,重新安装FF。但问题仍然存在。
如何解决这个问题?
重新安装萤火虫插件解决了这个问题。
现在出现在firebug控制台(不在 + + )
I'm trying a simple console.log function in firefox
console.log("Hello World !");
you may try it on: http://jsfiddle.net/EkZjK/
You may also try the full code in a standalone HTML file :
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<script type="text/javascript">
console.log("Hello World !");
</script>
</head>
</html>
I get console logs in chrome.
But in firefox I cannot see the logs.
I tried firebug console and ++
Both doesn't show the log message in firefox.
PS, i restarted FF, restarted Windows, tried on another machine and deleted FF profile and created another one, reinstalled FF. But the problem still exists.
How to solve this ?
Reinstalling firebug plugin solved the issue.
Now it appears in firebug console (not in ++)
这篇关于在firefox console.log不工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!