Skip to content

Instantly share code, notes, and snippets.

@jayhill90
Created April 17, 2020 17:34
Show Gist options
  • Save jayhill90/b3cb96ef2bc267dc7d5861fb9b910598 to your computer and use it in GitHub Desktop.
Save jayhill90/b3cb96ef2bc267dc7d5861fb9b910598 to your computer and use it in GitHub Desktop.
XDebug Configuration file for VSCode and Local by Flywheel
{
// Set your VSCode Workspace root to the root folder of your Local site.
// 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,
"pathMappings": {
"/app/public": "${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