microsoft / microsoft/vscode-js-debug

Node 24.20+ concurrent localhost endpoint probes cause attach failures

Open
#2,416 1 comment 0 reactions 1 assignee View on GitHub

@connor4312 is already working on this.

Since Sep 18, 2026.

bug
Dominant language
TypeScript
Stars
2k
Forks
373
Avg merge
1d 9m
Merged PRs (30d)
6

Description

  1. Open an empty folder and create .vscode/launch.json:

    {
      "version": "0.2.0",
      "configurations": [
        {
          "name": "Attach over localhost",
          "type": "node",
          "request": "attach",
          "address": "localhost",
          "port": 9229,
          "timeout": 30000,
          "trace": true
        }
      ]
    }
    
  2. In terminal, start an inspector that listens only on IPv4:

    node --inspect-brk=127.0.0.1:9229 -e 'setInterval(() => {}, 1 << 30)'
    
  3. Run Attach over localhost in latest vscode insiders. The attach fails.

  4. Change address to 127.0.0.1 and run it again. The attach succeeds.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.