tags:

views:

166

answers:

2

how to view Debugging Console not in popup window? prefer in same window. any idea?

+1  A: 

Change debug template file debug.tpl. Just replace following code with something more suitable for your needs:

# _smarty_console.document.write('{$debug_output|escape:'javascript'}');
## write debug window directly in current document
document.write('{$debug_output|escape:'javascript'}');`
Ivan Nevostruev
A little addition, debug.tpl can be found at Smarty root directory.
Kirzilla
+1  A: 

You can use Firebug and FirePHP to redirect the debug information to the Firebig console: http://www.firephp.org/Wiki/Libraries/Smarty

djn