Skip to content

bun processeses appear in VS Code Attach to Node Process but don't work #28883

@Andrej730

Description

@Andrej730

What version of Bun is running?

1.3.11

What platform is your computer?

Windows

What steps can reproduce the bug?

  1. Create test.ts below in cwd
  2. Open cwd in VS Code.
  3. Run bun --inspect-brk .\test.ts.
  4. Open VS Code, Ctrl-Shift-P -> Debug: Attach to Node Process
Image
  1. bun appears to be there, though with the wrong port - it shows 9229, while during launch it showed ws://localhost:6499/jcqqffqbxjh.
Image
  1. Trying to use it, loads it for a bit and then nothing happens (bun process is still running).
// test.ts
console.log("line 1")
console.log("line 2")
console.log("line 3")

Expected:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions