Instantly share code, notes, and snippets.
Simple example on how to use Xdebug with PhpStorm.
It should be used for the kickoff-docker-php.
Create a new PHP Web Application configuration and add a new server configuration:
PHP Web Application
Important: check Using path mappings and map the app folder with /var/www/html.
Using path mappings
app
/var/www/html
Last but not least, fill the form of the Run/Debug configuration:
Sorry, something went wrong.
Create a new
PHP Web Application
configuration and add a new server configuration:Important: check
Using path mappings
and map theapp
folder with/var/www/html
.Last but not least, fill the form of the Run/Debug configuration: