cloudflare · Cloudflare Workers Docs
Workers Attaching a Debugger
Instructions for attaching a Node.js debugger to Miniflare using Visual Studio Code, WebStorm, or browser DevTools to set breakpoints and inspect code execution.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Attaching a Debugger
Instructions for attaching a Node.js debugger to Miniflare using Visual Studio Code, WebStorm, or browser DevTools to set breakpoints and inspect code execution.
When To Use
Use when you need to set breakpoints, watch variables, or inspect the call stack while running Cloudflare Workers locally via Miniflare.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-testing-miniflare-attaching-a-debugger-workflow-guide.md | A guide detailing how to attach debuggers like Visual Studio Code, WebStorm, and DevTools to Miniflare for breakpoint debugging. | Questions about a guide detailing how to attach debuggers like Visual Studio Code, WebStorm, and DevTools to Miniflare for breakpoint... |
examples/workers-testing-miniflare-attaching-a-debugger-cloudflare-workers-minifl.text | A VS Code launch configuration for attaching a debugger to a Miniflare instance. | Exact payloads, commands, or snippets shown in A VS Code launch configuration for attaching a debugger to a Miniflare instance. |
What This Skill Covers
- This documentation describes breakpoint debugging when using Miniflare directly, which is only relevant for advanced use cases. Instead, most users should re...
- Main sections:
Visual Studio Code,Create configuration,WebStorm,DevTools.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/testing/miniflare/developing/debugger/index.md
