DEV Community

Discussion on: Setup Xdebug on WSL

Collapse
jmcelreavey profile image
John McElreavey

You sir are a legend, I spent ages trying to figure this out. PHPStorm was working fine but VSCode wasn't adding:

xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
Enter fullscreen mode Exit fullscreen mode

Fixed everything!