Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code extension fails to start debugger on windows "ws+unix://....." cannot be parsed as a URL. #13367

Closed
KilianB opened this issue Aug 17, 2024 · 2 comments
Labels
bug Something isn't working needs triage

Comments

@KilianB
Copy link
Contributor

KilianB commented Aug 17, 2024

What version of Bun is running?

1.1.25-canary.18+98a709fb1

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

Open any bun project and attempt to launch a file in the debugger.

image

What is the expected behavior?

No response

What do you see instead?

Failed to start inspector:
 40 |       }
41 |     },
42 |     close: () => {
43 |       writer.close(), pendingMessages.length = 0;
44 |     }
45 | }, parseUrl = function(input) {
                           ^
TypeError: "ws+unix://C:\Users\Kilian\AppData\Local\Temp\f4lo7afea4c.sock?wait=1" cannot be parsed as a URL.
      at internal:debugger:45:23
      at new Debugger (internal:debugger:124:14)
      at internal:debugger:100:13

Additional information

I just installed the extension via the marketplace. This is version v0.0.12

VSCode:

Version: 1.91.1 (user setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:49.809Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19045
@KilianB KilianB added bug Something isn't working needs triage labels Aug 17, 2024
@KilianB KilianB changed the title WS Code extension fails to start debugger on windows "ws+unix://....." cannot be parsed as a URL. VS Code extension fails to start debugger on windows "ws+unix://....." cannot be parsed as a URL. Aug 17, 2024
@smultar
Copy link

smultar commented Aug 21, 2024

I'm also experiencing this issue, and im unable to debug my work and personal-related projects, that rely on bun.

@KilianB
Copy link
Contributor Author

KilianB commented Aug 24, 2024

Already tracked in #8851

@KilianB KilianB closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

2 participants