oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.89k stars 2.74k forks source link

VSC debugging not properly disconnected #14579

Open branaway opened 1 week ago

branaway commented 1 week ago

What version of Bun is running?

1.1.29

What platform is your computer?

macOS

What steps can reproduce the bug?

got a bun test script, then

open a javascript debug console in VSC, then

bun --inspect test <my test>

set a breakpoint somewhere and hit the breakpoint.

then click on the disconnect icon on the debug control bar.

What is the expected behavior?

The debugger in VSC properly disconnects from the current session.

What do you see instead?

The debugger still runs in the attached mode. Many sessions accumulate over time.

Additional information

No response

branaway commented 1 week ago

Image

branaway commented 1 week ago

killing my process won't kill the session either.