Skip to content

Instantly share code, notes, and snippets.

@litzinger
Created August 17, 2018 14:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save litzinger/7719412e728bb0f7579b6dcaad1d3d91 to your computer and use it in GitHub Desktop.
Visual Studio Code XDebug config
{
// 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
// Set the IDEKEY in the browser Xdebug Helper extension to "vscode"
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/var/www/local.jamf.com": "${workspaceRoot}"
},
"log": true,
"stopOnEntry": true
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment