Smarty Manual
Prev | Chapter 8. Custom Functions | Next

# debug

Attribute Name | Type | Required | Default | Description
--- | --- | --- | --- | ---
output | string | No | html | output type, html or javascript

{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.

Prev | Home | Next
cycle | Up | eval