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

Debugging in VS Code for Windows not works #10250

Closed
Filyus opened this issue Apr 13, 2024 · 2 comments
Closed

Debugging in VS Code for Windows not works #10250

Filyus opened this issue Apr 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Filyus
Copy link

Filyus commented Apr 13, 2024

What version of Bun is running?

1.1.3+7b5065c1c

What platform is your computer?

Microsoft Windows NT 10.0.19042.0 x64

What steps can reproduce the bug?

  1. Install Bun for Windows
  2. Install VS Code extension "Bun for Visual Studio Code"
  3. Create launch.json with standard Bun configuration
  4. Trying to run or debug with the created commands

What is the expected behavior?

Proper start or debug session

What do you see instead?

Immediately stop with a following error:

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

Additional information

Debugging with a command line and a browser works, but I don't fun of using it.

@Filyus Filyus added the bug Something isn't working label Apr 13, 2024
@Electroid
Copy link
Contributor

Duplicate of #8851

@Electroid Electroid marked this as a duplicate of #8851 Apr 15, 2024
@Electroid Electroid closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2024
@vvhellohivv
Copy link

me too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants