bun-debug

Launch a script with Bun's debugger enabled for interactive debugging.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "bun-debug" with this command: npx skills add laurigates/claude-plugins/laurigates-claude-plugins-bun-debug

/bun:debug

Launch a script with Bun's debugger enabled for interactive debugging.

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):

bun --inspect $FILE

Break at first line:

bun --inspect-brk $FILE

Wait for debugger attachment:

bun --inspect-wait $FILE

Custom port:

bun --inspect=$PORT $FILE

Debug tests:

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

  • Report the debug URL to user

  • Explain how to connect:

  • Open debug.bun.sh/#localhost:<port> in browser

  • Or use VSCode with Bun extension attached to the WebSocket URL

  • Remind about breakpoint controls (F8 continue, F10 step over, F11 step into)

VSCode Integration

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

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

ruff linting

No summary provided by upstream source.

Repository SourceNeeds Review
General

imagemagick-conversion

No summary provided by upstream source.

Repository SourceNeeds Review
General

jq json processing

No summary provided by upstream source.

Repository SourceNeeds Review
General

api-testing

No summary provided by upstream source.

Repository SourceNeeds Review