//ads:
?>
Xdebug is not launched in WSL2 in a docker CakePHP 3 application
PHP Snippet 1:
"pathMappings": {
"/var/www/html/webroot": "${workspaceFolder}/webroot"
},
PHP Snippet 2:
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 5902,
"hostname": "localhost",
"pathMappings": {
"/var/www/html": "${workspaceFolder}"
},
"log": true
}