# Dump

The dump tag is used for debugging data inside your current view context.

## Overview
This tag is useful for debugging. It will 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.

::tabs

::tab antlers
```antlers
{{ dump }}
```
::tab blade
```blade
<statamic:dump />
```
::

:::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

::tab antlers
```antlers
{{ gallery }}
  {{ dump }}
{{ /gallery }}
```
::tab blade
```blade
@foreach ($gallery as $item)
  {{-- Using the Statamic tag --}}
  <statamic:dump />
  
  {{-- Using Blade Directives --}}
  @dd($item)
@endforeach
```
::

:::tip
You can also use the [dump modifier](/modifiers/dump.md) to achieve a similar effect.
:::
