I am trying to setup debugging my javascript files from inside vscode and for some reason I can't make it work. Couldn't find anyone with the same problem. Basically I start the local server, click on starting the debug session and it starts for a split second and then terminates immediately. It does not stop on breakpoints and does not show anything in either VARIABLES, WATCH or CALL STACK nor the terminal.
These are my launch.json configs:
{
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:5500",
"webRoot": "${workspaceFolder}",
}
]
}
Any ideas why this could be?