Skip to content

Commit

Permalink
Launch: Add urlFilter to the attach-chrome config
Browse files Browse the repository at this point in the history
Fix attaching to an already executing Chrome instance with at least one
(or the) tab opened with localhost:3000 (and all of its underlying
resources). Allows attaching without having to browse localhost:3000 in
a separate or new (single-tab) Chrome window, albeit this still working.

Signed-off-by: Marco Miller <marco.miller@ericsson.com>
  • Loading branch information
marco-miller committed May 26, 2022
1 parent 13bde97 commit 43c93b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"name": "Attach to Chrome",
"port": 9222,
"sourceMaps": true,
"webRoot": "${workspaceRoot}/examples/browser"
"webRoot": "${workspaceRoot}/examples/browser",
"urlFilter": "http://localhost:3000/*"
},
{
"type": "firefox",
Expand Down

0 comments on commit 43c93b0

Please sign in to comment.