2010-01-25 83 views
3

如何查看不在弹出窗口中的调试控制台? 喜欢在同一个窗口中。 有什么想法?smarty调试控制台

+0

{调试输出=“HTML”} – TK123 2014-05-07 19:45:33

回答

2

更改调试模板文件debug.tpl。只需更换以下为您需要的东西更适合代码:

# _smarty_console.document.write('{$debug_output|escape:'javascript'}'); 
## write debug window directly in current document 
document.write('{$debug_output|escape:'javascript'}');` 
+1

小另外,可以在Smarty根目录下找到debug.tpl。 – Kirzilla 2010-01-25 12:29:45