How can I activate the Firefox debugger?

Math chiller picture Math chiller · Jan 29, 2014 · Viewed 23.4k times · Source

While debugging a JavaScript program I was writing with Firebug, the Script panel stopped working and I got the following message:

debugger not activated

I went through all menus and sub-menus I could find but didn't see a option to re-enable this feature. The console.log() command doesn't work in Firebug as well (while it does work in the built-in devtools' console).

How can I re-activate the Firebug Script panel? What may have caused this?

Answer

Sebastian Zartner picture Sebastian Zartner · Feb 3, 2014

This may have different causes. One of them is described in issue 5646, which is related to going back and forward in the browser history.

In such cases it normally requires a browser restart to work again.

Note that Firebug up to version 1.12 is based on an old debugger API exposed by Firefox called JSD, which is unmaintained and buggy. Since version 2.0 Firebug uses a new debugger API, which fixes this problem.