So I’m trying to get VS Code working with XDebug, like all the cool kids, but I’m failing miserably.
I’ve installed all the appropriate extensions as above and I think I have my launch.json set up correctly.
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/var/www/html": "${workspaceRoot}",
"/app/public": "/Users/afragen/Local%20Sites/single/app/public/"
}
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9000
}
]
}
I’ve restarted everything and still I don’t stop on a breakpoint.
FWIW, everything does work in PhpStorm.
Any ideas?