Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers DevTools

Instructions for accessing and using Chrome DevTools to debug, profile, and inspect Cloudflare Workers during local development via Wrangler, Vite, or the Cloudflare dashboard.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers DevTools

Instructions for accessing and using Chrome DevTools to debug, profile, and inspect Cloudflare Workers during local development via Wrangler, Vite, or the Cloudflare dashboard.

When To Use

Use when you need to set breakpoints, profile CPU usage, or debug memory leaks in a Cloudflare Worker running locally via Wrangler or Vite.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-observability-dev-tools-devtools-workflow-guide.mdA guide explaining how to access and use Chrome DevTools when running Workers locally via Wrangler or Vite.Questions about a guide explaining how to access and use Chrome DevTools when running Workers locally via Wrangler or Vite.

What This Skill Covers

  • When running your Worker locally using the Wrangler CLI ↗ (wrangler dev) or using Vite ↗ with the Cloudflare Vite plugin ↗, you automatically have access to...
  • Main sections: Using DevTools, Opening DevTools, Wrangler, Vite, Dashboard editor & playground.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/observability/dev-tools