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.
dump-loader.php
file for custom bootstrapping of your application. If you want to debug with Xdebug, it makes sense to configure PHPStorm to ignore this dump loader. You can do that in the settings of PhpStorm by unchecking the boxes for:
coverage
command that allows you to run Xdebug’s coverage mode on your test suite: