Outputs the contents of a variable for debugging. The data is formatted and styled in a BranchCMS HTML element.   If not variable is passed then all variables in the current context will be outputted.

{# Output one variable #}
{{ debug(variable) }}

{# Output multiple variables #}
{{ debug(variable, anotherVar, yetAnotherVar) }}

{# Output all variables #}
{{ debug() }}

< Back to the list of functions