Created
September 11, 2018 20:19
-
-
Save adamdehaven/e3c0de936ef545977ecfe803d979946e to your computer and use it in GitHub Desktop.
VS Code Xdebug configuration for Homestead project
This file contains hidden or 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", | |
"port": 9000 | |
}, | |
{ | |
"name": "Launch currently open script", | |
"type": "php", | |
"request": "launch", | |
"program": "${file}", | |
"cwd": "${fileDirname}", | |
"port": 9000 | |
}, | |
{ | |
"name": "Listen for XDebug on Homestead", | |
"type": "php", | |
"request": "launch", | |
"pathMappings": { | |
"/var/www/homestead/path/project/root": "/c/Users/username/path/to/local/project/root" | |
}, | |
"port": 9000 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment