bun-debug
Installation
SKILL.md
/bun:debug
Launch a script with Bun's debugger enabled for interactive debugging.
When to Use This Skill
| Use this skill when... | Use typescript-debugging instead when... |
|---|---|
Attaching an interactive debugger to a Bun script via --inspect |
Diagnosing TypeScript compile errors or type mismatches |
Breaking at the first line of a fast-exiting script (--inspect-brk) |
Setting up VSCode launch configurations for non-Bun runtimes |
Debugging Bun tests with bun --inspect-brk test |
Use bun-test when you just want to run tests, not step through them |
| Waiting for a debugger to attach before execution | Use bun-build when reproducing a build-time error |
Parameters
file(required): Script file to debug--brk: Break at first line (for fast-exiting scripts)--wait: Wait for debugger to attach before running--port=<port>: Use specific port (default: auto-assigned)