Skip to content

Instantly share code, notes, and snippets.

@uxweb
Created June 23, 2020 14:09
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 uxweb/4976a609073778fc4128342b5526fc3d to your computer and use it in GitHub Desktop.
Save uxweb/4976a609073778fc4128342b5526fc3d to your computer and use it in GitHub Desktop.
VScode Xdebug Settings
{
// 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,
"log": true,
"xdebugSettings": {
"max_data": 65536,
"show_hidden": 1,
"max_children": 100,
"max_depth": 3
}
},
{
"name": "Listen for XDebug on Docker",
"type": "php",
"request": "launch",
"port": 9000,
"log": true,
"externalConsole": false,
"pathMappings": {
"/var/www/html/web": "${workspaceFolder}/web"
},
"ignore": ["**/vendor/**/*.php"],
"xdebugSettings": {
"max_data": 65536,
"show_hidden": 1,
"max_children": 100,
"max_depth": 3
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment