Skip to content

Unable to reuse opened browser pages when debugging VS Code on the Web side #197898

@yiliang114

Description

@yiliang114

When I use the code-server.sh or code-web.sh script to debug the vscode on the web side, every time I execute the script again, I will reopen a page instead of reusing the page that has been opened before. This results in more and more of the same debug pages in the browser

Reproduction steps:

  1. clone vscode source code.
  2. yarn i
  3. Use cmd + shift + b to compile vscode and builtin extension, then call ./scripts/code-web.sh to start web
  4. The browser opens http://localhost:8080/ by default
  5. Exit ./scripts/code-web.sh and re-execute.
  6. The browser opens http://localhost:8080/ again.

bug124

Version: 1.84.2
Commit: 1a5daa3
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Embedder: vscode.dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineeringVS Code - Build / issue tracking / etc.polishCleanup and polish issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions