# Debug Filters URL: /docs/reference/template-functions/debug-filters/ Section: template-functions Tags: reference, filters, debug -------------------------------------------------------------------------------- Debug Filters Development helpers for debugging templates. debug Pretty-print variable for debugging. {{ page | debug }} {{ config | debug(pretty=false) }} typeof Get the type of a variable. {{ page | typeof }} {# "Page" #} {{ "hello" | typeof }} {# "str" #} {{ 42 | typeof }} {# "int" #} inspect Inspect object attributes and methods. {{ page | inspect }} {# Properties: title, href, date, ... #} {# Methods: get_toc(), get_siblings(), ... #} -------------------------------------------------------------------------------- Metadata: - Author: lbliii - Word Count: 77 - Reading Time: 1 minutes