Last active
June 1, 2020 10:44
-
-
Save guanguans/0d2c8f303a06676d0adfc83fffa92d33 to your computer and use it in GitHub Desktop.
vscode-launch.json
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
{ | |
// 使用 IntelliSense 了解相关属性。 | |
// 悬停以查看现有属性的描述。 | |
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", | |
"log": true, | |
"localSourceRoot": "${workspaceRoot}", | |
"serverSourceRoot": "/var/www/laravel", | |
// "pathMappings": { | |
// "/var/www/laravel": "${workspaceRoot}" | |
// }, | |
"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