vscode-edge-devtools icon indicating copy to clipboard operation
vscode-edge-devtools copied to clipboard

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

Open snebjorn opened this issue 4 years ago • 0 comments

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.

snebjorn avatar Feb 18 '21 10:02 snebjorn