Last active
July 20, 2017 03:14
-
-
Save LiYiBin/ed9fcf21f2bc4873c3d3da2cf447ec6f to your computer and use it in GitHub Desktop.
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch for Chrome Debug", | |
"type": "chrome", | |
"request": "launch", | |
"url": "<YOUR_URL>", | |
"webRoot": "${workspaceRoot}/public" | |
}, | |
{ | |
"name": "Attach for Chrome Debug", | |
"type": "chrome", | |
"request": "attach", | |
"port": 9222, | |
"url": "<YOUR_URL>", | |
"webRoot": "${workspaceRoot}/public" | |
}, | |
{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", | |
"port": 9000, | |
"serverSourceRoot": "/var/www/html/<YOUR_PROJECT_PATH>", | |
"localSourceRoot": "${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