I am debugging a FF extension for a client (3500 lines). I have a separated development profile with just firebug && extension developer extensions to work.
1.- I had developed a couple of extensions for FF some time in the previous 2 years. I remember that I used Firebug's console.debug/trace for debugging. Now, with Firebug 1.6.2 console is not defined. Any advise to fix this?
2.- Last night I installed console2 (an upgrade for the normal error console) that can help pretty well with a custom function like:
function debug(aMsg) {
setTimeout(function() { throw new Error("[debug] " + aMsg); }, 0);
}
But Firebug.console.debug is superior. Please advise about alternative techniques for debugging FF extensions.