Working debugger config

This commit is contained in:
Milli 2022-06-03 18:41:21 +02:00
parent 6a46169ab9
commit c3b5cc3f7f

13
.vscode/launch.json vendored
View File

@ -5,19 +5,12 @@
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceRoot}"
},
{
"name": "Attach to Chrome",
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"port": 9222, // chrome needs to be started with the parameter "--remote-debugging-port=9222"
"urlFilter": "http://localhost:3000/*",
"webRoot": "${workspaceFolder}"
"webRoot": "${workspaceFolder}/web"
}
]
}