firebug console.log not working


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?


I've got it working now. I just re-installed the firebug firefox add-on and it's OK. Couldn't have been installed properly.

This article has been dead for over six months: Start a new discussion instead
Start New Discussion
Tags Related to this Article