Bun Debug

Debugging Bun programs in OpenIDE through the Debug Adapter Protocol client of LSP4IJ.

Debugging Bun programs in OpenIDE through the Debug Adapter Protocol client of LSP4IJ.

  • Debug '<file>' with Bun — editor and Project view context menu on .ts/.tsx/.js/.mjs/…
  • package.json scripts that run bun (bun x.ts, bun run …, bun test): gutter icon and Run/Debug in the context menu, with the environment of bun run
  • Attach to bun --inspect
  • Breakpoints (including conditional, hit count, logpoints), exception filters, stepping, variables by scope, evaluate and watches, value editing; program output in the debug console
  • Debug in Bun Web Debugger — bun --inspect-brk with debug.bun.sh in the browser

The adapter is the official bun-debug-adapter-protocol by oven-sh. bun is taken from the project (devEngines/packageManager version in the bun-maven-plugin cache), PATH or ~/.bun/bin. Requires the LSP4IJ plugin.


Отладка программ Bun в OpenIDE через DAP-клиент LSP4IJ: отладка файла и скриптов package.json, attach к bun --inspect, брейкпоинты, переменные, evaluate; запасной путь — веб-отладчик debug.bun.sh. Нужен плагин LSP4IJ.

ВерсияOpenIDEДатаРазмер
2026.2+02.12.2026100,1 КБСкачать