Bun Debugging
Debug your Bun code with an interactive debugger using WebKit Inspector Protocol
Install
npx skills add jarle/bun-skills --skill Bun Debugginggit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-runtime-debugger ~/.claude/skills/Bun-DebuggingPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Debugging
> Debug your Bun code with an interactive debugger using WebKit Inspector Protocol
Bun speaks the [WebKit Inspector Protocol](https://github.com/oven-sh/bun/blob/main/packages/bun-inspector-protocol/src/protocol/jsc/index.d.ts), so you can debug your code with an interactive debugger. For demonstration purposes, consider the following simple web server.
## Debugging JavaScript and TypeScript
```typescript icon="https://mintcdn.com/bun-1dd33a4e/nIz6GtMH5K-dfXeV/icons/typescript.svg?fit=max&auto=format&n=nIz6GtMH5K-dfXeV&q=85&s=5d73d76daf7eb7b158469d8c30d349b0" title="server.ts" theme={"theme":{"light":"github-light","dark":"dracula"}}
Bun.serve({
fetch(req) {
console.log(req.url);
return new Response("Hello, world!");
},
});
```
### `--inspect`
To enable debugging when running code with Bun, use the `--inspect` flag. This automatically starts a WebSocket server on an available port that can be used to introspect the running Bun process.
```sh icon="terminal" title="terminal" theme={"theme":{"light":"github-light","dark":"dracula"}}
bun --inspect server.ts
```
```txt id="terminal" theme={"theme":{"light":"github-light","dark":"dracula"}}
------------------ Bun Inspector ------------------
Listening at:
ws://localhost:6499/0tqxs9exrgrm
Inspect in browser:
https://debug.bun.sh/#localhost:6499/0tqxs9exrgrm
------------------ Bun Inspector ------------------
```
### `--inspect-brk`Details
- Skill name
Bun Debugging- Repository
- jarle/bun-skills
- Path
skills/bun-runtime-debugger/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Debugging skill do?
Debug your Bun code with an interactive debugger using WebKit Inspector Protocol
How do I install the Bun Debugging skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Debugging. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Debugging popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun FFI
9jarle/bun-skills
Use Bun's FFI module to efficiently call native libraries from JavaScript
Bun Cookies
9jarle/bun-skills
Work with cookies in HTTP requests and responses using Bun's built-in Cookie API.
Bun File System Router
9jarle/bun-skills
Bun provides a fast API for resolving routes against file-system paths
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.