javascriptfirefoxfirefox-addon

Firefox Addon console.log() Not working


So I need to check some results in a Firefox add-on I'm working on, however the console.log() does not work. I've tried simply putting,console.log("Hello World"); in the main.js file and loading it, but it doesn't log anything.


Solution

  • By default the minimum log level is error. Everything else is not printed, and that includes console.log(). Please see the Log Levels for more information on how to use and configure logging and associated levels.