Skip to content

Instantly share code, notes, and snippets.

@salcode

salcode/launch Secret

Last active September 18, 2018 13:13
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 salcode/93d592dc1c6941ac060e3cbdd3454e88 to your computer and use it in GitHub Desktop.
Save salcode/93d592dc1c6941ac060e3cbdd3454e88 to your computer and use it in GitHub Desktop.
Visual Code Studio Xdebug Configuration for Local by Flywheel - see https://salferrarello.com/xdebug-in-visual-code-studio-with-local-by-flywheel/
{
// 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",
// See https://salferrarello.com/xdebug-in-visual-code-studio-with-local-by-flywheel/
"pathMappings": {
// Map path within Local by Flywheel (i.e. after you SSH in) (/app/public)
// to the path of the folder opened in VS Code ${workspaceFolder}
"/app/public": "${workspaceFolder}",
},
"port": 9000
},
{
"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