Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix(dev): vscode attach debugger to browser
Browse files Browse the repository at this point in the history
  • Loading branch information
faselbaum committed Sep 12, 2018
1 parent caad0ae commit 95f8a3a
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,10 @@
{
"type": "chrome",
"request": "attach",
"name": "Attach to main browser instance",
"name": "Attach to browser",
"port": 9222,
"webRoot": "${workspaceFolder}",
"windows": {
"url": "${workspaceFolder}\\build\\electron\\renderer\\app.html"
},
"url": "${workspaceFolder}/build/electron/renderer/app.html"
},
{
"type": "chrome",
"request": "attach",
"name": "Attach to preview browser instance",
"port": 9222,
"webRoot": "${workspaceFolder}",
"windows": {
"url": "${workspaceFolder}\\build\\electron\\renderer\\preview.html"
},
"url": "${workspaceFolder}/build/electron/renderer/preview.html"
"urlFilter": "http://localhost:*/"
},
{
"name": "Attach to electron host application",
Expand Down

0 comments on commit 95f8a3a

Please sign in to comment.