Bun Debug

🌐Community
by laurigates · vlatest · Repository

Automatically identifies and suggests fixes for common baking errors in recipe code using AI analysis.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add bun-debug npx -- -y @trustedskills/bun-debug
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "bun-debug": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/bun-debug"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The Bun Debug skill enables AI agents to launch scripts with Bun's debugger enabled, facilitating interactive debugging of Bun code. It provides commands for starting the debugger, breaking at the first line of execution, waiting for a debugger attachment, and specifying custom ports. The skill then reports a debug URL and offers guidance on connecting using a browser or VSCode.

When to use it

  • When you need to step through your Bun code to understand its behavior.
  • To quickly identify the source of errors in small scripts by breaking at the first line.
  • For debugging tests within your Bun project.
  • When integrating with a debugger like VSCode and needing assistance setting up the launch configuration.

Key capabilities

  • Launches scripts with Bun's debugger enabled.
  • Supports breaking at the first line of execution (--inspect-brk).
  • Allows waiting for debugger attachment (--wait).
  • Enables specifying a custom port for debugging (--port).
  • Provides instructions on connecting to the debug URL via browser or VSCode.
  • Suggests VSCode launch configuration settings.

Example prompts

  • "Debug my script my_script.bun."
  • "Run test *.js with the debugger and break at the first line."
  • "Start debugging main.bun on port 8080."

Tips & gotchas

  • The skill requires a Bun installation to be available in the environment.
  • After launching, follow the provided instructions to connect your browser or VSCode debugger to the reported WebSocket URL.
  • Familiarize yourself with standard debugging controls like F8 (continue), F10 (step over), and F11 (step into).

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
laurigates
Installs
32

🌐 Community

Passed automated security scans.