Last active
May 30, 2019 22:17
-
-
Save StevenGFX/678ec3f679ad0ddaa46f691b7f0eeec5 to your computer and use it in GitHub Desktop.
ConfCats - VSCode XDebug settings for launch.json #confcats
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": 9000, | |
"log": true, | |
// "localSourceRoot": "${workspaceRoot}/", // Deprecated | |
// "serverSourceRoot": "/app/", // Deprecated | |
"pathMappings": { | |
"/app/": "${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