Add VS Code Chrome debug configuration

main
Isaiah Odhner 2022-02-24 17:49:56 -05:00
parent ce8b7664e2
commit 22cec4b76e
1 changed files with 16 additions and 0 deletions

16
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
// 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": [
{
"type": "pwa-chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222, // must run Chrome with a flag: google-chrome --remote-debugging-port=9222
"urlFilter": "http://127.0.0.1:1999/*",
"webRoot": "${workspaceFolder}"
}
]
}