I just started getting into Mozilla Firefox extensions, and I'm sure I'll do a lot of mistakes, but I am unable to find errors nor logs from my extension's javascript.
My main.js:
var pageMod = require("sdk/page-mod");
var self = require("sdk/self");
pageMod.PageMod({
include: "https://www.google.ee/*",
contentScriptFile: self.data.url("popup.js")
});
where in popup.js I tried Application.console.log("message"); Firebug.Console.log("message"); console.log("message"); Components.utils.reportError(e); randomly deleted some semicolons and tried calling for object properties that do not exist (document.body.asdasdasd="asd"; etc.)
[popup.js also inserted message into page body, so I can confirm the code was executed]
I have checked Ctrl+Shift+k; Ctrl+Shift+j; Firebug's console, all of them are empty or show errors from webpage only. In my about:config extensions.logging.enabled=true and javascript.options.showInConsole=true.
What could I be missing or where do extension javascript logs appear?