I created directory and test file inside.
After lauch i get message: The requested resource / was not found on this server.
Finnaly i want to debug wordpress, and I chose built-in server option.
Here is my launch.json file.
"version": "0.2.0",
"configurations": [
{
"name": "Launch built-in server",
"type": "php",
"request": "launch",
"runtimeArgs": [
"-S",
"localhost:8000",
"-t",
"."
],
"port": 9000,
"serverReadyAction": {
"action": "openExternally"
}
},
{
"name": "Launch current script in console",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"externalConsole": false,
"port": 9000
},
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9000
}
]
}
What should I insert in this file ?