# Debug Filters

URL: /bengal/docs/reference/template-functions/debug-filters/
Section: template-functions
Description: Development helpers for debugging templates

---

Development helpers for debugging templates.

## debug

Pretty-print variable for debugging.

```kida
{{ page | debug }}
{{ config | debug(pretty=false) }}
```

## typeof

Get the type of a variable.

```kida
{{ page | typeof }}      {# "Page" #}
{{ "hello" | typeof }}   {# "str" #}
{{ 42 | typeof }}        {# "int" #}
```

## inspect

Inspect object attributes and methods.

```kida
{{ page | inspect }}
{# Properties: title, href, date, ... #}
{# Methods: get_toc(), get_siblings(), ... #}
```
