Skip to content

WSL2 chrome debug with Error running browser: connect ECONNREFUSED 127.0.0.1:53579 #982

@Agamennon

Description

@Agamennon

Describe the bug
WSL2 chrome debug not possible, browser opens for a moment then closes, with messege:

Error running browser: connect ECONNREFUSED 127.0.0.1:53579

To Reproduce
Steps to reproduce the behavior:

  1. On windows 10, install WSL2
  2. Install VSCODE (insiders or stable)
  3. Try debug javascript

launch.json:

  {
        "name": "Launch Chrome",
        "request": "launch",
        "type": "pwa-chrome",
        "url": "http://localhost:5000",
        "trace": true,
        "webRoot": "${workspaceFolder}"
      },

Log File
vscode-debugadapter-00e1f992.json

Vscode -> 1.56.0-insider
Javacript Debugger (Nightly) v2021.4.2617

Additional context
Curiously installing older versions of the javascript debugger also give the same error, even versions 3 months old
Also installing older versions of Debugger for chrome and Remote WSL also fails with the same error

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions