{debug}

{debug}

Attribute NameTypeRequiredDefaultDescription
outputstringNojavascriptoutput 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.

See also Debugging console

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.