I am been shown this unusual error. It has just started appearing and it's preventing me from debugging my WSL web solution.
I am running a php wordpress site in Visual Studio code and debugging it using XDebug. I have the following in my launch.json
which I know for a fact worked yesterday and has been working fine for a while now.
When I try and debug I get a pop saying the following
I've never seen this message before and I can't see any information online about it.
My launch.json looks like the following
"version": "0.2.0",
"configurations": [
{
"name":"Listen for XDebug",
"type":"php",
"request":"launch",
"port":9003,
"pathMappings": {
"server path": "${workspaceRoot}"
},
"xdebugSettings": {
"max_data": 10000,
//"show_hidden": 1,
"max_children": 250,
"max_depth": 10
},
"env": {
"XDEBUG_MODE": "debug",
"XDEBUG_TRIGGER": "VSCODE"
}
}
]
'server path' is the path of the project on the server.
I first thought that maybe the port was being used by something elese but it wasn't.
I have tried restarting Apache2, reloading PHP7.3-fpm and turning my computer off in the hopes that the issue resolves itself yet nothing seems to be working.
Has anyone else came across this issue?