Skip to content
Mischa Braam edited this page Feb 16, 2024 · 4 revisions

Xdebug support is built-in. It works on port 9000 after you enable it.

Enable Xdebug:

valet-plus xdebug on

Disable Xdebug:

valet-plus xdebug off

⚠️ Xdebug makes your environment slower. That's why we allow to fully enable / disable it. When not debugging it's best to disable it by running valet-plus xdebug off.

PhpStorm

To use Xdebug with PhpStorm you don't have to configure anything. Just run valet xdebug on and click the Xdebug button on the top right:

xdebug-phpstorm

Then install Xdebug helper for Chrome and enable it when viewing the page you want to use Xdebug on.

Clone this wiki locally