Skip to content

Instantly share code, notes, and snippets.

@StevenGFX
Last active May 30, 2019 22:17
Show Gist options
  • Save StevenGFX/678ec3f679ad0ddaa46f691b7f0eeec5 to your computer and use it in GitHub Desktop.
Save StevenGFX/678ec3f679ad0ddaa46f691b7f0eeec5 to your computer and use it in GitHub Desktop.
ConfCats - VSCode XDebug settings for launch.json #confcats
{
// 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,
"log": true,
// "localSourceRoot": "${workspaceRoot}/", // Deprecated
// "serverSourceRoot": "/app/", // Deprecated
"pathMappings": {
"/app/": "${workspaceRoot}/",
}
},
{
"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