Working debugger config
This commit is contained in:
parent
6a46169ab9
commit
c3b5cc3f7f
13
.vscode/launch.json
vendored
13
.vscode/launch.json
vendored
|
@ -5,19 +5,12 @@
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"type": "chrome",
|
"name": "Attach to Chrome",
|
||||||
"request": "launch",
|
|
||||||
"name": "Launch Chrome against localhost",
|
|
||||||
"url": "http://localhost:3000",
|
|
||||||
"webRoot": "${workspaceRoot}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "chrome",
|
"type": "chrome",
|
||||||
"request": "attach",
|
"request": "attach",
|
||||||
"name": "Attach to Chrome",
|
"port": 9222, // chrome needs to be started with the parameter "--remote-debugging-port=9222"
|
||||||
"port": 9222,
|
|
||||||
"urlFilter": "http://localhost:3000/*",
|
"urlFilter": "http://localhost:3000/*",
|
||||||
"webRoot": "${workspaceFolder}"
|
"webRoot": "${workspaceFolder}/web"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user