Skip to content

Instantly share code, notes, and snippets.

@alvaropaco
Last active August 23, 2018 15:43
Show Gist options
  • Save alvaropaco/7521f63c0a20bf49dda8c28328d83c50 to your computer and use it in GitHub Desktop.
Save alvaropaco/7521f63c0a20bf49dda8c28328d83c50 to your computer and use it in GitHub Desktop.
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/var/www/html/myapp/": "${workspaceRoot}/"
},
"log": true
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "docker",
"cwd": "run -it -v $(pwd):/var/www/html/myapp/ myapp",
"port": 9000
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment