Skip to content

Instantly share code, notes, and snippets.

@keyle
Created May 9, 2023 04:05
Show Gist options
  • Save keyle/fee4b5dd417ec0baf7e2537e48742a82 to your computer and use it in GitHub Desktop.
Save keyle/fee4b5dd417ec0baf7e2537e48742a82 to your computer and use it in GitHub Desktop.
launch.json for PHP XDEBUG
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"stopOnEntry": false, // !!! doesn't work, hit the refresh (Green) icon and keep going
"port": 9000,
"pathMappings": {
"/app": "${workspaceFolder}"
},
"ignore": [
"**/vendor/**/*",
"**/index.php" // also does not work, fml
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment