Working debugger config

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

37
.vscode/launch.json vendored
View File

@ -1,23 +1,16 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"type": "chrome", "name": "Attach to Chrome",
"request": "launch", "type": "chrome",
"name": "Launch Chrome against localhost", "request": "attach",
"url": "http://localhost:3000", "port": 9222, // chrome needs to be started with the parameter "--remote-debugging-port=9222"
"webRoot": "${workspaceRoot}" "urlFilter": "http://localhost:3000/*",
}, "webRoot": "${workspaceFolder}/web"
{ }
"type": "chrome", ]
"request": "attach", }
"name": "Attach to Chrome",
"port": 9222,
"urlFilter": "http://localhost:3000/*",
"webRoot": "${workspaceFolder}"
}
]
}