在firefox console.log不工作? [英] console.log in firefox is not working?

查看:130
本文介绍了在firefox console.log不工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在firefox中使用简单的console.log函数

  console.log(Hello World!) 

您可以尝试: http://jsfiddle.net/EkZjK/



您也可以在独立的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中我看不到日志。



我试过了萤幕控制台,而且 + SHIFT + J >
两者都不会在Firefox中显示日志消息。 PS,我重新启动FF,重新启动Windows,尝试在另一台机器上,并删除FF配置文件,并创建另一个,重新安装FF。但问题仍然存在。



如何解决这个问题?

解决方案

重新安装萤火虫插件解决了这个问题。

现在出现在firebug控制台(不在 CTRL + SHIFT + J

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 CTRL+SHIFT+J
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 CTRL+SHIFT+J)

这篇关于在firefox console.log不工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆