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?

7 Years
Discussion Span
Last Post by Sirabbub

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 topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.