Overview
This tag is useful for debugging. It will stop execution of the page and render the raw data of the variables in your current context (page, variable loop, etc).
Dropping it in a template or layout will show you all the data that's been injected into the view layer.
{{ dump }}
<statamic:dump />
Dropping it inside a loop will dump all the data just for that loop context.
{{ gallery }} {{ dump }}{{ /gallery }}
@foreach ($gallery as $item) {{-- Using the Statamic tag --}} <statamic:dump /> {{-- Using Blade Directives --}} @dd($item)@endforeach
You can also use the dump modifier to achieve a similar effect.