Overview

Next RSC Debug is a development-focused observability and debugging toolkit for Next.js App Router applications. It helps you understand the relationship between browser navigation, RSC requests, server-side fetches, caching, Server Components, Server Actions, RSC payloads, errors, and client rendering.

Core principle

“Don’t merely show events. Explain what happened and why.”

No browser extension

The dashboard is a normal page inside your own application, mounted wherever you like (by default /rsc-debug). There is no extension to install, no browser permissions to grant, and nothing is injected into the browser.

The whole pipeline runs on your server and your own routes:

  1. instrumentation.ts calls register(), which wraps the server’s fetch
  2. Producers such as debugComponent() and debugCacheHit() record events into an in-memory ring buffer held on globalThis in the Node process
  3. A route handler you mount yourself serves that buffer as JSON and as a live SSE stream
  4. <DevTools /> — an ordinary React client component — subscribes and renders the timeline

Because the data source is a plain endpoint, you can also inspect it with curl, assert on it in CI, or run it in a container with no browser installed. See Limitations for why an extension is not planned.