dump

The dump function allows you to output the contents of a variable for debugging. The data is formatted and styled in an Aptuitiv HTML element. If not variable is passed then all variables in the current context will be outputted.

This function is unique to Aptuitiv. It is not part of the core Twig functionality.
{# Output one variable #}
{{ debug(variable) }}

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

{# Output all variables #}
{{ debug() }}
This documentation is only for Aptuitiv CMS. Learn more.
Get Started With Aptuitiv