Skip to content

Instantly share code, notes, and snippets.

@rufhausen
Created September 25, 2020 18:29
Show Gist options
  • Save rufhausen/f3461d23e3573fdc896e8e316c78aaca to your computer and use it in GitHub Desktop.
Save rufhausen/f3461d23e3573fdc896e8e316c78aaca 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": 9001,
"pathMappings": {
"/var/www": "${workspaceFolder}"
},
"preLaunchTask": "toggle-xdebug-on",
"postDebugTask": "toggle-xdebug-off"
},
{
"name": "XDebug CLI",
"type": "php",
"request": "launch",
"port": 9001,
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9001
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment