Skip to content

Instantly share code, notes, and snippets.

@WebDevJL
Last active January 27, 2019 13:42
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 WebDevJL/94252903edc74063df31deed98366766 to your computer and use it in GitHub Desktop.
Save WebDevJL/94252903edc74063df31deed98366766 to your computer and use it in GitHub Desktop.
Visual Studio Code User settings - Debug PHP
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/app/public": "${workspaceRoot}"
},
"xdebugSettings": {
"max_children": 128,
"max_data": 1024,
"max_depth": 3,
"show_hidden": 1
}
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
},
{
"name": "Launch Program",
"type": "node",
"request": "launch",
"program": "${file}"
}
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment