Skip to content

Instantly share code, notes, and snippets.

@samelm
Last active July 22, 2019 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samelm/66ce22a20df52903642e394283c406ca to your computer and use it in GitHub Desktop.
Save samelm/66ce22a20df52903642e394283c406ca to your computer and use it in GitHub Desktop.
VSCode + PHP + XDebug + Docker
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/var/www/html": "${workspaceFolder}/lumen"
}
}
]
}
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
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