> ## Documentation Index
> Fetch the complete documentation index at: https://herd.laravel.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Dumps

# Debugging with Dumps

The Dumps feature can automatically intercept all `dump()` calls in your code and display them in a separate window instead of rendering them in the browser or CLI. But that's not all, it can also show HTTP requests, logs, Eloquent queries, dispatched jobs and Blade views to give you all the integrations that you need when debugging your app.

## Using Dump features

You may open the Dumps Window via the Herd system tray menu or open it with a globally configurable shortcut that you can define in the [shortcut settings](/macos/advanced-usage/shortcuts).

In order to enable dump interception and record debug information, click on the antenna icon in the title bar of the window. The icon will flash to indicate that dump interception is enabled.
Once enabled, you may use the `dump()` function as usual. Instead of printing the dump to your browser or terminal, Herd will open a window when a new dump becomes available.

<Frame>
  <img alt="Empty state of the dump interceptor window" src="https://mintcdn.com/herd/pbdN92VyM5BkjAJV/images/docs/dumps_empty.png?fit=max&auto=format&n=pbdN92VyM5BkjAJV&q=85&s=7973a904c46a0dc312a1ee2725f8fe8f" width="1654" height="1166" data-path="images/docs/dumps_empty.png" />
</Frame>

New dumps are automatically added to the top of the window, and you can clear the window by pressing the icon in the title bar of the dump window. All dumps are searchable so you can easily find what you are looking for.

By default, Herd only displays the output of the latest request, but you can enable persistent storage between requests in the settings. This keeps a history until you close the Dumps Window.

## Settings

You can select which features you need when you start debugging, so that your requests stay as fast as usual and there's no bloat when digging into a problem.

<Frame>
  <img alt="Dump Window" src="https://mintcdn.com/herd/pbdN92VyM5BkjAJV/images/docs/dumps_settings.png?fit=max&auto=format&n=pbdN92VyM5BkjAJV&q=85&s=3b975ef5a985eb2051d8015d73d64a92" width="1844" height="1342" data-path="images/docs/dumps_settings.png" />
</Frame>

## Dumps

When enabled, all dumps that you run via Laravels' `dump()` or `dd()` methods automatically go to the Dumps Windows instead of your browser. This has the advantage that the dump doesn't break your layout and SPAs still work.

This also sends `dump()` calls from queued jobs to the dump window that you wouldn't see in your browser when working with real queues.

<Frame>
  <img alt="Dump Window" src="https://mintcdn.com/herd/pbdN92VyM5BkjAJV/images/docs/dumps_dumps.png?fit=max&auto=format&n=pbdN92VyM5BkjAJV&q=85&s=dbb2744e5da4680251b9cc53470a58d8" width="1654" height="1166" data-path="images/docs/dumps_dumps.png" />
</Frame>

## Queries

You can display and debug Eloquent queries by enabling the query feature in the settings. If you want to debug specific queries, you can select the duration for these queries and skip fast ones which are good to go.

<Frame>
  <img alt="Dump Window" src="https://mintcdn.com/herd/pbdN92VyM5BkjAJV/images/docs/dumps_queries.png?fit=max&auto=format&n=pbdN92VyM5BkjAJV&q=85&s=3c9b2df17fdb07f514b8b629062a6d1e" width="1654" height="1166" data-path="images/docs/dumps_queries.png" />
</Frame>

## Jobs

Enable job logging to get a list of all jobs that your application runs. This is super useful when you work with the sync driver and are not sure if all jobs are properly triggered.

<Frame>
  <img alt="Dump Window" src="https://mintcdn.com/herd/pbdN92VyM5BkjAJV/images/docs/dumps_jobs.png?fit=max&auto=format&n=pbdN92VyM5BkjAJV&q=85&s=17edcb26c0209c8a4d0b50acb973c6cc" width="1654" height="1166" data-path="images/docs/dumps_jobs.png" />
</Frame>

## Views

Sometimes, you want to know which data gets passed to a view and which views your application loads on a specific site. This tab lists all views that Laravel renders during a request.

<Frame>
  <img alt="Dump Window" src="https://mintcdn.com/herd/pbdN92VyM5BkjAJV/images/docs/dumps_views.png?fit=max&auto=format&n=pbdN92VyM5BkjAJV&q=85&s=2b641e70287d56f352a5a27ecd8a5f9c" width="1654" height="1166" data-path="images/docs/dumps_views.png" />
</Frame>

## HTTP

The request tab displays all outgoing HTTP requests of your application, so if you're working with an API, these calls show up in the Dumps Window and allow you to inspect them without searching through logs etc.

<Frame>
  <img alt="Dump Window" src="https://mintcdn.com/herd/pbdN92VyM5BkjAJV/images/docs/dumps_http.png?fit=max&auto=format&n=pbdN92VyM5BkjAJV&q=85&s=cf803e7594d260eccaaf4bb9e9151ca7" width="1654" height="1166" data-path="images/docs/dumps_http.png" />
</Frame>

## Logs

You can get all logs of a request without using Herd's Log Viewer or digging through log files.

<Frame>
  <img alt="Dump Window" src="https://mintcdn.com/herd/pbdN92VyM5BkjAJV/images/docs/dumps_logs.png?fit=max&auto=format&n=pbdN92VyM5BkjAJV&q=85&s=dc2835c70da47ce8a5fb14dc25302f54" width="1654" height="1166" data-path="images/docs/dumps_logs.png" />
</Frame>

## Troubleshooting

The dumps feature uses Herds' own PHP extension so make sure it is present in your `php.ini` and the path to the extension is correct. If you think that there is a problem with the path, simply quit Herd, remove the extension from the ini file and start Herd again. This will add the extension to the configuration file with the correct path.

```ini theme={null}
extension=/Applications/Herd.app/Contents/Resources/herd-ext/herd-83-arm64.so
```

Technically, Herd uses this extension to inject code into your codebase in very early stages of the bootstrapping process. So if you're facing issues within your application, you might want to disable some or all of the features in the [settings](#settings).
