I have firebug installed in my firefox browser, but I can't get console.log, console.debug or console.trace to work. My console window remains empty despite all my efforts. For example I have some code which throws up an alert box (
alert ('here is an alert')
so I know 100% that it is being executed. If I now place the line
console.log("please log this to the console");
next to it, nothing gets written to the console. I also have firephp installed and this is logging to the console for my php code absolutely fine.
Has anyone got any ideas? Do I need to execute any other javascript as a prerequisite for it to work?