2017-03-05 25 views
0

console.log消息用于去Firebug,但不是它们不会出现在这里,而是在“浏览器控制台”中。如何把他们放回去?console.log消息来自萤火虫的地方?

编辑:这里是截图enter image description here

+1

你能提供的截图? – arunprakashpj

+1

[console.log()可能的重复在Firebug中不起作用,因为Firefox 51.0.1](http://stackoverflow.com/questions/41933743/console-log-doesnt-work-anymore-in-firebug-因为-火狐-51-0-1) –

回答

1

在2个步骤:

  1. 禁用或(更好)卸载萤火虫
  2. 按F12和享受控制台

为什么:Firebug不再被维护,它通常会因为新的FF更新而过时。 Firefox(F12)中已有的工具正在使用它。请参阅:

https://getfirebug.com/ < - 主页上的红色消息

1

正如你可以在Firebug http://getfirebug.com/

的主页上看到的Firebug扩展没有被开发或维护任何更长的时间。

enter image description here

为了使您的日志显示你有两个选择:

  • 使用Firebug的是较旧版本的Firefox(在我的情况下,它的工作与Firefox 45)。

  • 通过在URL中点击about:addons来取消激活Firebug。

    enter image description here

    再用胶带F12使用火狐DevToolshttps://developer.mozilla.org/en-US/docs/Tools