Debug lubrication console

how to view debug console not in popup? prefer in the same window. any idea?

+3
source share
2 answers

Modify the debug template file debug.tpl. Just replace the 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'}');`
+2
source

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

+2
source

Source: https://habr.com/ru/post/1729889/


All Articles