Search code examples
firefoxfirefox-addonfirefox-addon-sdk

Attach Firefox developer console to add-ons


Is there a way to attach a developer console to Firefox add-ons and debug the add-on inside the browser just like Chrome?

Also, I found a setting under about:config called extensions.logging.enabled. Where would these logs appear?


Solution

  • Press Ctrl+Shift+J. It opens the browser console you can watch everything. Make sure to set up your developer preferences though: See the "Recommended development preferences" section under: https://developer.mozilla.org/en-US/Add-ons/Setting_up_extension_development_environment?redirectlocale=en-US&redirectslug=Setting_up_extension_development_environment#Development_preferences