Skip to content
Toan Nguyen edited this page Apr 15, 2024 · 1 revision

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

Enable Xdebug:

valet-pro xdebug on

Disable Xdebug:

valet-pro 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-pro 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