Skip to content

fix: fixed issue #2344#2380

Open
Limborx wants to merge 3 commits into
microsoft:mainfrom
Limborx:main
Open

fix: fixed issue #2344#2380
Limborx wants to merge 3 commits into
microsoft:mainfrom
Limborx:main

Conversation

@Limborx

@Limborx Limborx commented Jun 28, 2026

Copy link
Copy Markdown

At the end of a debugging session, it may not be cleaned up properly due to various reasons, or the session may be occupied. This frequently occurs in attach mode. The error "Unknown session id" is thrown, causing the attach to be terminated before completion, which in turn freezes the target browser page and leaves the session state abnormal within VS Code.

Changing the error message to a warning is the minimal change. It does not affect the existing debugging workflow and allows the target page to be attached successfully. This resolves the issue where a second attach attempt fails due to detection errors, thereby preventing debugging from being blocked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant