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:
- clone vscode source code.
- yarn i
- Use
cmd + shift + b to compile vscode and builtin extension, then call ./scripts/code-web.sh to start web
- The browser opens
http://localhost:8080/ by default
- Exit
./scripts/code-web.sh and re-execute.
- The browser opens
http://localhost:8080/ again.

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
When I use the
code-server.shorcode-web.shscript 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 browserReproduction steps:
cmd + shift + bto compile vscode and builtin extension, then call./scripts/code-web.shto start webhttp://localhost:8080/by default./scripts/code-web.shand re-execute.http://localhost:8080/again.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