Created
November 23, 2018 12:16
-
-
Save lucymtc/65aec5c2264964e0b6dff86afa4cd628 to your computer and use it in GitHub Desktop.
Visual Studio Code Xdebug config
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
| // Install Extension https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug | |
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Listen for XDebug", | |
| "type": "php", | |
| "request": "launch", | |
| "port": 9000, | |
| "pathMappings": { | |
| "/var/www/html": "${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