oven-sh / bun

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

No debugging support in IntelliJ IDEA IDE #5406

Open iosifnicolae2 opened 1 year ago

iosifnicolae2 commented 1 year ago

What is the problem this feature would solve?

We would like to be able to debug our application using IntelliJ IDEA IDE.

What is the feature you are proposing to solve the problem?

I don't know exactly what's needed to do in order to fix this problem.

GimpMaster commented 9 months ago

There is some discussion here:

https://youtrack.jetbrains.com/issue/WEB-56768/Bun-support#focus=Comments-27-8080814.0-0

However I can not confirm if anyone has been able to debug yet.

Also just as an FYI, when intellij (phpstrom, webstorm) tries to launch bun as a replacement for node its trying to use these arguments

--debug-brk=62358 --expose_debug_as=v8debug

I'm not sure if those are supported in bun

kravetsone commented 2 months ago

We get it in next Webstorm update tg_image_3829832978