PDA

View Full Version : how do i turn off the debug console?



hygo
2 Jul 2007, 8:31 AM
when i included ext js files(not included ext-all-debug.js) in the header, the Ext Debug Console

hygo
2 Jul 2007, 8:49 AM
i figured it out by commeting out the last line of 'Ext.debug={init:function()' in ext-all.js and then it's good.

tryanDLS
2 Jul 2007, 8:53 AM
What version are you using? One of the prior releases (pre - 1.1beta) inadvertently included the debug code in the ext-all.js file. If you're calling something like console.log and you don't have some other console object created, it will use Ext.debug.

hygo
2 Jul 2007, 11:36 AM
Thanks tryanDLS,
I'm using 1.1beta so it probably included the debug code by defult, and when i turn on the firebug it will not use Ext.debug. So i just commented out the code and it's fine now.