laurigates/claude-plugins/bun-debug

Claude Code and agent skill by laurigates/claude-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Bun debugger via --inspect. Use when the user wants to debug a TS/JS file interactively, break at first line, wait for attach, or debug tests with --inspect-brk.

Install

npx vskill@latest install laurigates/claude-plugins/bun-debug

SKILL.md

The same SKILL.md was published earlier as laurigates/claude-plugins/bun-debug.

/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 --inspectDiagnosing 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 testUse bun-test when you just want to run tests, not step through them
Waiting for a debugger to attach before executionUse 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)

Execution

Standard debug (opens debug URL):

bash
bun --inspect $FILE

Break at first line:

bash
bun --inspect-brk $FILE

Wait for debugger attachment:

bash
bun --inspect-wait $FILE

Custom port:

bash
bun --inspect=$PORT $FILE

Debug tests:

bash
bun --inspect-brk test $PATTERN

Output

The command outputs a debug URL:

------------------- Bun Inspector -------------------
Listening: ws://localhost:6499/
Open: debug.bun.sh/#localhost:6499
-----------------------------------------------------

Post-launch

  1. Report the debug URL to user
  2. Explain how to connect:
  • Open debug.bun.sh/#localhost:<port> in browser
  • Or use VSCode with Bun extension attached to the WebSocket URL
  1. Remind about breakpoint controls (F8 continue, F10 step over, F11 step into)

VSCode Integration

For VSCode debugging, suggest adding to .vscode/launch.json:

json
{
"type": "bun",
"request": "launch",
"name": "Debug",
"program": "${file}",
"stopOnEntry": true
}

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/laurigates/claude-plugins/bun-debug/badge)](https://verified-skill.com/skills/laurigates/claude-plugins/bun-debug)

Something wrong with this skill or its page? Tell us.