Skip to content

Javascript Debugger Unable to Attach #316906

@hmumm

Description

@hmumm

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.120
  • OS Version: Windows 11

Steps to Reproduce:

  1. Create index.html file with this content:
<!DOCTYPE html>
<html>
  <body>
    <script>
      console.log("hello");
    </script>
  </body>
</html>
  1. Add breakpoint to console.log
  2. Add this profile to launch.json
{
      "name": "test browser",
      "type": "msedge",
      "request": "launch",
      "file": "${workspaceFolder}/test.html"
    }
  1. Launch that profile. You will see the error: Unable to launch browser: Unable to attach to browser

This happens only on version 1.120, once I downgraded to 1.119 this worked fine.

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions