microsoft / microsoft/vscode-azureresourcegroups

[CoR] Debug session fails with "Unable to attach to browser" after selecting Keep iterating

Open
#1,632 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

AT-CTI
Dominant language
TypeScript
Stars
78
Forks
55
Avg merge
16h 49m
Merged PRs (30d)
139

Description

OS: Win11 x64
VS Code Insider: 1.132.0-insider
Build Version: 0.12.7-alpha.0
Regression: Not a regression

Repro Steps:

  1. Create a project using Copilot
  2. In Development (Next steps)->select Keep iterating--start debugging and improve my code
  3. Press F5
  4. Wait for the application to launch

Expect:
The application launches and the debugging session starts without showing any error message

Actual:
Debug session fails with "Unable to attach to browser"
Image

More Info:
After the error is shown, manually opening the local URL displays the application correctly.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Reproduce the failure using the listed Copilot workflow on Windows 11 with the specified VS Code Insider build, then trace the extension's browser-attach flow reached by pressing F5. Compare the failed session with manually opening the local URL; done means the application launches, the debugger attaches, and no error is shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.