nanoninja / docker-nginx-php-mysql

Docker running Nginx, PHP-FPM, MySQL & PHPMyAdmin
1.76k stars 867 forks source link

xdebug with visual-code #67

Closed dummys closed 1 year ago

dummys commented 1 year ago

Hello, for the people that struggle with XDEBUG under visual code, don't forget to add a path mapping inside your launch.json that point to your real webserver folder:

            "port": 9000,
            "pathMappings": {
                "/var/www/html/public": "${workspaceFolder}",
            }