Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions content/collections/tags/dump.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,25 @@ Dropping it in a template or layout will show you all the data that's been injec
```
::

:::tip
The `dump` tag will output dumps when `APP_DEBUG` is `true`.
:::

If you need to dump something when debug mode is disabled, you can use the `force` parameter:

::tabs

::tab antlers
```antlers
{{ dump force="true" }}
```
::tab blade
```blade
<statamic:dump force="true" />
```
::


Dropping it inside a loop will dump all the data _just for that loop context_.

::tabs
Expand Down