b2e4920aa2
For GitHub Codespaces e.g.
35 lines
871 B
JSON
35 lines
871 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch built-in server and debug",
|
|
"type": "php",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"-S",
|
|
"localhost:8000",
|
|
"-t",
|
|
"."
|
|
],
|
|
"port": 9003,
|
|
"serverReadyAction": {
|
|
"action": "openExternally"
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug current script in console",
|
|
"type": "php",
|
|
"request": "launch",
|
|
"program": "${file}",
|
|
"cwd": "${fileDirname}",
|
|
"externalConsole": false,
|
|
"port": 9003
|
|
},
|
|
{
|
|
"name": "Listen for Xdebug",
|
|
"type": "php",
|
|
"request": "launch",
|
|
"port": 9003
|
|
}
|
|
]
|
|
}
|