/docker-nginx-xdebug

docker-compose + nginx + php + xdebug + vscode

Primary LanguageMakefile

How to use

docker-compose up --profile=php80 -d

or

make up

phpstorm

append xdebug session key to a URL

http://example.com/api/orders?XDEBUG_SESSION_START=docker

Install Vscode Plugin

Install php debug plugin for vscode

https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug

Enable Vscode breakpoints

Debug: Allow Breakpoints Everywhere

Listening to debug