Debugging
Last modified on Sun 11 Jan 2026
Xdebug
Xdebug is an indispensable tool when working on PHP projects. It's a very powerful debugger which can be used for code coverage when running tests as well.
If you have Laravel Herd Pro installed, Xdebug is already installed and configured for you.
Dumps
Laravel Herd Pro provides a simple way to dump your variables and objects. You can use the Laravel Herd documentation to learn more about it.
Query Monitor
Query Monitor is a plugin that allows you to debug your database queries, hooks, conditionals, and much more. You can use the Query Monitor documentation to learn more about it.
Make sure Query Monitor plugin is always turned off on production environment when you are not debugging.