PDA

View Full Version : Firebug console.log not working?



IvanJ
12 Nov 2009, 9:02 AM
I've decided to try using console.xxx actions provided by firebug.

Only problem is - when I do console.log("test") in my page (inside Ext.onReady) - nothing is shown in firebug window. There's no error, but there's no log either.

If, however, i run the same action inside firebug, it works, AND all my console.log's from my page start working as they're supposed to.

It seems calling console.log from firebug itself causes it to initialize it or something.

Any idea how I can get console.log to work properly from my code?

hyperation
12 Nov 2009, 3:47 PM
try console.debug()

IvanJ
12 Nov 2009, 3:52 PM
Doesn't work either. No matter what console.XXX actions I try - they don't work. (unless I execute one in firebug itself - then they start working).