Last active
July 22, 2019 07:51
-
-
Save samelm/66ce22a20df52903642e394283c406ca to your computer and use it in GitHub Desktop.
VSCode + PHP + XDebug + Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", | |
"port": 9000, | |
"pathMappings": { | |
"/var/www/html": "${workspaceFolder}/lumen" | |
} | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xdebug.default_enable=1 | |
xdebug.remote_enable=1 | |
xdebug.remote_autostart=1 | |
xdebug.remote_connect_back=0 | |
xdebug.profiler_enable=0 | |
xdebug.remote_host=host.docker.internal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xdebug.remote_enable=1 | |
xdebug.remote_host=docker.for.mac.localhost | |
xdebug.remote_connect_back=0 | |
xdebug.remote_autostart=1 | |
xdebug.remote_connect_back=0 | |
xdebug.remote_handler=dbgp | |
xdebug.max_nesting_level=250 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment