{debug} dumps the debug console to the page. This works regardless of the debug settings in Smarty. Since this gets executed at runtime, this is only able to show the assigned variables, not the templates that are in use. But, you see all the currently available variables within the scope of this template.
{debug} 將除錯控制台輸出到網頁。此標籤不會參考 Smarty 中 debug 設定。在執行時間時會執行除錯,但是只能秀出被指定的變數,而不是正在使用的樣版,但是 你可以看到此樣版內所有可取得的變數。