Created
December 21, 2017 17:24
-
-
Save uniacid/ce07471b1befbf438cb3b7d0e8ffc5a3 to your computer and use it in GitHub Desktop.
vscode php debug 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
{ | |
// 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", | |
"port": 9001 | |
}, | |
{ | |
"name": "Listen for XDebug Gemaire", | |
"type": "php", | |
"request": "launch", | |
"port": 9001, | |
"pathMappings": { | |
"/var/www/html": "${workspaceRoot}" | |
} | |
}, | |
{ | |
"name": "Launch currently open script", | |
"type": "php", | |
"request": "launch", | |
"program": "${file}", | |
"cwd": "${fileDirname}", | |
"port": 9000 | |
}, | |
{ | |
"type": "node", | |
"request": "attach", | |
"name": "Docker: Attach to Node", | |
"port": 9001, | |
"address": "localhost", | |
"localRoot": "${workspaceFolder}", | |
"remoteRoot": "/var/www/html", | |
"protocol": "inspector" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment