-
-
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/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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