microsoft / microsoft/vscode-js-debug
Launch a new tab in the existing/running Chrome instance
Open
@connor4312 is already working on this.
Since May 6, 2021.
feature-request
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 373
- Avg merge
- 1d 9m
- Merged PRs (30d)
- 6
Description
I have an instance of Chrome running with remote debugging enabled. I would like VS Code to launch a new tab (and/or window) in this instance and attach the debugger to it.
As far as I understand, the attach task is not what I need here, because this is intended for attaching to an existing tab.
I have tried using a launch task but it doesn't seem to open a new tab. Instead, it will navigate to url in the most recent tab, and then open a new blank tab.
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome (existing)",
"url": "http://localhost:5000",
"webRoot": "${workspaceRoot}",
// By default, the extension launches Chrome with a separate user profile in a temp folder. We
// set it to `false` to launch with the default user profile instead, so we don't have to
// reinstall extensions like React dev tools and re-configure any preferences.
"userDataDir": false,
"port": 9222
}
Is there a way to make it open a new tab instead?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.