Logging to Firebug From XUL
The Firebug extension is a very helpful tool for web development. But did you know that you can use its console as an output target for your Firefox extensions? It’s pretty simple to do:
Firebug.Console.log("Text to log"); // Output text Firebug.Console.log(myObj); // Output an object
Comments are closed.