Laravel Herd

Documentation for Windows

Xdebug Detection

Automatically use Xdebug

Herd Pro is able to detect Xdebug headers in your requests and it enables the Xdebug extension on demand for these requests so that all other requests bypass the extension and are super-fast.

Setup with browser extensions

Herd uses the headers of Xdebug browser extensions that you can install via the Chrome Web Store or Firefox Addons.

Once you enable an Xdebug feature in the browser extension, Herd serves the request via a PHP process with an enabled Xdebug extensions.

Using Xdebug on the command line

You can run CLI commands via herd debug .. instead of using php ... to use the php binary with Xdebug enabled. So if you are debugging an artisan command, you can run herd debug artisan your:command to trigger your breakpoint.