microsoft / microsoft/vscode-js-debug

debug URL timeouts when using debug terminal in wsl.

Open
#2,037 2 comments 0 reactions 1 assignee View on GitHub

@connor4312 is already working on this.

Since Jul 13, 2024.

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

Description

Describe the bug
When I use the debug terminal in windows, starting the vite devserver and xtrl+click the URL a new chrome window appears and I can debug my application.

When I'm in wsl the devserver starts but ctrl+click just opens chrome but never opens the url nor attach the debugger with then leads to a timeout error.

To Reproduce
Steps to reproduce the behavior:

  1. Open debug terminal
  2. Start vite dev server
  3. Ctrl +click url
    4a. Works when in windows
    4b. Doesn't work when in wsl

Log File

I don't habe a launch file since it always worked for me in windows.

VS Code Version: 1.91.1

Don't know if this is really a bug, but all the issues that mentioned wsl didn't had the right hint or same problem then I do. Maybe it's just a misconfiguration then I already apologize

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.