microsoft / microsoft/vscode-edge-devtools

Possible to Attach debugger if EdgeTool is already open; else Launch

Open
#286 0 comments 1 reaction 1 assignee View on GitHub

@vidorteg is already working on this.

Since Mar 2, 2021.

enhancement tracked
Dominant language
TypeScript
Stars
827
Forks
358
Avg merge
20h 32m
Merged PRs (30d)
10

Description

I would find it helpful if there was a request configuration that would attach if an EdgeTool instance was already open. If no instance was found then launch one (and auto attach)

{
  "configurations": [
    {
      "type": "vscode-edge-devtools.debug",
      "request": "attach else launch" // <-------
    }
  ]
}

With this I don't have to worry about if I already launched before. I can just hit F5 whenever I want to start debugging.

Currently we have to first pick the config with the "request": "launch", then switch to "request": "attach". And repeat if we close the EdgeTool instance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.