Skip to content

Instantly share code, notes, and snippets.

@LiYiBin
Last active July 20, 2017 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LiYiBin/ed9fcf21f2bc4873c3d3da2cf447ec6f to your computer and use it in GitHub Desktop.
Save LiYiBin/ed9fcf21f2bc4873c3d3da2cf447ec6f to your computer and use it in GitHub Desktop.
{
"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