-
Notifications
You must be signed in to change notification settings - Fork 4.3k
bun processeses appear in VS Code Attach to Node Process but don't work #28883
Copy link
Copy link
Open
Labels
Description
What version of Bun is running?
1.3.11
What platform is your computer?
Windows
What steps can reproduce the bug?
- Create
test.tsbelow in cwd - Open cwd in VS Code.
- Run
bun --inspect-brk .\test.ts. - Open VS Code, Ctrl-Shift-P ->
Debug: Attach to Node Process
bunappears to be there, though with the wrong port - it shows9229, while during launch it showedws://localhost:6499/jcqqffqbxjh.
- Trying to use it, loads it for a bit and then nothing happens (
bunprocess is still running).
// test.ts
console.log("line 1")
console.log("line 2")
console.log("line 3")Expected:
- best solution - when selecting
bunprocesses, actually attach to it. This would resolve Add support for debugging in vscode with zero configuration via auto-attach debugger #12725 in a natural way, without adding specialDebug: Attach to Bun Process. - if it's impossible to resolve this and attachn, then
bunshouldn't show up in this list in the first place.
Reactions are currently unavailable