Set xdebug.remote_host=host.docker.internal
and xdebug.remote_enable=1
in php.ini
- Set host, port and use path maaping with project in PHP Server preferences.
- Open "Run/Debug Configurations" dialog and set
- Set server from 1st step
- Set IDE Key to
PHPSTORM
https://www.jetbrains.com/help/phpstorm/configuring-xdebug.html