console.log() doesn't work anymore in Firebug since Firefox 51.0.1

前端 未结 2 1193
悲&欢浪女
悲&欢浪女 2020-12-30 19:17

I\'ve just updated firefox to a Firefox 51.0.1 (32-bit), and after the update console.log stopped working.

When I am tring to test some JavaScript variables using <

相关标签:
2条回答
  • 2020-12-30 19:41

    In 2 steps:

    1. disable or (better) uninstall Firebug
    2. press F12 and enjoy the console and other Devtools

    Why: Firebug is not regularly updated anymore, it often becomes obsolete with new FF update. Tools already available in Firefox (F12) are inglobating it.

    0 讨论(0)
  • 2020-12-30 19:48

    As I mentioned in another answer, this happens because the Firefox internal APIs, which Firebug uses to output the data, have changed. When you open the Browser Console, you'll see the following error:

    TypeError: ConsoleAPIListener is not a constructor console.js:149:38

    Note that, as stated in a thread in the Firebug discussion group and on the Firebug homepage, Firebug is discontinued and unmaintained. I.e. it breaks more and more with every new version of Firefox and will quit working completely once multi-process Firefox is enabled. There is a blog post explaining the reasons.

    The team behind Firebug advises to use the Firefox DevTools instead and there is a migration guide available.

    0 讨论(0)
提交回复
热议问题