How to debug a Firefox extension using Chromebug?

I am trying to debug a Firefox add-in using Chromebug, but I do not see error tracing or log tracing. I set up a dedicated profile and set the about:config parameters according to this Mozilla tutorial . I installed Firebug and Chromebug with the same version (1.7.2). But when I perform one of my "actions" with the extension "error code", nothing happened. No magazine, no trace.

In Chromebug, the list of files is empty. I read in several discussions on the Internet that I should see a list of debugged scripts.

Screenshot of my environment:

screenshot of my environment

What else should I do?

+4
debugging firefox plugins firefox-addon chromebug
Jul 09 '13 at 11:42 on
source share
1 answer

April 2014 update. Now the browser debugger is now included in the "Browser Toolbar" and you no longer need to install: config prefs. Just use the settings / settings panel of the developer tools: "enable chrome debugging" and "enable remote debugging". The "browser toolbar" will be available on the developer toolbar.

Chromebug has not worked for me for many months. I think that they were just silent, but, fortunately, in Firefox 19 or later, you can use the built-in JS debugger in the browser itself. Go to about: config and set the following two prefs:

 devtools.chrome.enabled: true devtools.debugger.remote-enabled: true 

After restarting the browser, the web developer menu will contain the entry "Browser Debugger".

More information here: https://developer.mozilla.org/en/docs/Debugging_JavaScript

If possible, I would suggest using Aurora for your debugging, because the built-in debugger was a bit limited on first run and improved with each version.

+12
Jul 10 '13 at 19:24
source share



All Articles