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

VSCode on Windows doesn't run #14669

Closed
badalya1 opened this issue Oct 18, 2024 · 1 comment
Closed

VSCode on Windows doesn't run #14669

badalya1 opened this issue Oct 18, 2024 · 1 comment
Labels
bug Something isn't working debugger Something to do with `bun --inspect` or the debugger

Comments

@badalya1
Copy link

badalya1 commented Oct 18, 2024

What version of Bun is running?

1.1.31

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

  1. Create a simple index.ts
  2. Set a breakpoint
  3. Debug file with VSCode debugger on windows
  4. Observe nothing.

What is the expected behavior?

The VSCode debugger should stop at the debugger, showing all local/global scopes.

What do you see instead?

Nothing happens other that debugger output:

--------------------- Bun Inspector ---------------------
Listening:
  ws://127.0.0.1:52561/ha0ubfpuzii?wait=1
Inspect in browser:
  �]8;;https://debug.bun.sh/#127.0.0.1:52561/ha0ubfpuzii�\https://debug.bun.sh/#127.0.0.1:52561/ha0ubfpuzii�]8;;�\
--------------------- Bun Inspector ---------------------
Debugger attached.

Additional information

Extension version v0.0.15

When opening https://debug.bun.sh/#127.0.0.1:52561/ha0ubfpuzii manually:

Web inspector encounters unhandled error

Debugger domain already enabled (at :​undefined:​undefined)​
    ?​ @ Error:​ Debugger domain already enabled
    ?​ @ manifest-7f15da7ddeb3145d.js:​37:​91068)​
    ?​ @ manifest-7f15da7ddeb3145d.js:​37:​90180)​
    ?​ @ manifest-7f15da7ddeb3145d.js:​37:​89186)​
    ?​ @ manifest-7f15da7ddeb3145d.js:​37:​83401)​
    ?​ @ manifest-7f15da7ddeb3145d.js:​37:​1537)​

The code does not run. The breakpoints are not hit. Vscode gives into debugging view and that's it.

@badalya1 badalya1 added bug Something isn't working needs triage labels Oct 18, 2024
@nektro nektro added debugger Something to do with `bun --inspect` or the debugger and removed needs triage labels Oct 18, 2024
@Electroid
Copy link
Contributor

Duplicate of #14674

@Electroid Electroid marked this as a duplicate of #14674 Oct 18, 2024
@Electroid Electroid closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 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 debugger Something to do with `bun --inspect` or the debugger
Projects
None yet
Development

No branches or pull requests

3 participants