Become a design partnerApply now

Individual Debugging

Fix the bug your
agent can't figure out.

Replay is a time-travel debugger. Record your app, and get a deterministic capture of everything that happened — every function call, every state change, every network request. Then let your coding agent analyze it, or investigate it yourself.

Get started with Replay MCP →

Free to start — no credit card required

Your agent is fast.
But it's debugging blind.

Your coding agent can read your code, run your tests, and suggest fixes. But when the bug is subtle — a race condition, a state update that fires twice, a redirect that silently fails — it's stuck guessing from error messages and source code alone.

It doesn't know what actually happened at runtime. It can't see which component re-rendered, what the network response actually contained, or which event handler fired first. So it suggests a fix, you try it, it doesn't work, and the cycle repeats.

Replay gives your agent — and you — the runtime data that turns guessing into knowing.

How it works

Record → Investigate → Fix

Record the bug

Reproduce the issue while Replay captures everything. Use the CLI (`npx replayio record-suite`), the Chrome extension, or let your coding agent trigger the recording. You get a deterministic replay—not a video, the actual program execution.

Investigate

Add Replay MCP to your coding agent (Claude Code, Codeium, Cursor, etc.) and point it at the recording. Your agent can now inspect the actual runtime—set logpoints, trace function calls, examine state changes, follow call chains. Or dig in yourself with Replay DevTools.

Fix with confidence

Whether your agent found it or you did, you now know exactly what happened. The root cause is clear because you saw it in the actual execution—not inferred from logs or guessed from the stack trace.

The runtime context that changes everything

Without a Replay recording, your coding agent can only read source code and error messages. With one, it can see:

What actually executed

The exact sequence of function calls, not what you think ran. Every function on every frame, with arguments and return values.

State at any point in time

React component state, Redux / Zustand / TanStack Query stores, local variables — all inspectable at any moment in the recording.

Network reality

Every request and response with full payloads and timing. Not what the code intended to send — what actually went over the wire.

DOM as it was

The actual DOM at any moment in time, not a reconstruction. See exactly what the user saw and when.

Render behavior

Which components re-rendered, what triggered them, and whether it was necessary. Follow the full component tree at any point.

Event sequence

Every event handler that fired, in order, with the state before and after. No more guessing about race conditions.

This is the difference between debugging with evidence and debugging with intuition.

Replay MCP in action

From bug to fix — without touching DevTools

Your coding agent uses Replay MCP to time-travel through the recording and deliver the root cause — while you do something else.

Button doesn't work

Creating a new task does nothing

Chat transcript with Replay MCP

The form to add a new task isn't doing anything

I'll investigate why the form to add a new task isn't working. Let me start by exploring the recording to understand what's happening.

Let me look at the CreateTaskModal component more closely to understand its implementation, especially the form submission logic.

I can see the form submission logic. Line 53-54 shows handleSubmit was called once, but let me check where the onSave callback leads to. Let me look at TasksListPage to see how the modal's onSave is handled.

I found the issue! Looking at handleCreateTask (lines 73-93):

  1. Line 83 shows the function was called once (hit count: 1)
  2. Lines 84-90 build the payload object
  3. Line 92 closes the modal with setCreateModalOpen(false) (hit count: 1)
  4. But there's no fetch call to actually save the task!

The function closes the modal at the end, but it never makes a network request to persist the new task. The payload is built but never sent to the server.

Root Cause

The handleCreateTask function in TasksListPage.tsx is missing the API call to create the task. It:

  1. Builds the payload object ✓
  2. Closes the modal ✓
  3. Does NOT call fetch to POST the task to the backend

Compare this to line 65-70 where fetch is used to load deals - a similar pattern should exist after building the payload on line 92, but it's missing. The function just closes the modal without actually saving anything.

Time travelogue

Agents solving real bugs with Replay MCP

These aren't toy demos. Real bugs, real codebases, full evidence trails.

7 min

How Replay MCP helped find a React bug faster than Dan Abramov did

Dan Abramov fixed a race condition in React 18. With Replay recordings, four parallel agents identified the root cause in under 30 minutes — the best run took 7 minutes.

Read the story →

— via @dan_abramov

4–9 min

Improving Nadia’s "debugging with AI" results using Replay MCP

Nadia Makarevich tested AI debugging against three Next.js app bugs. Without Replay, the agent fixed 1 of 3. With Replay MCP, it found all three.

Read the story →

— via @nadia

Any JavaScript app. Any coding agent.

Deeper insights for React.

Apps

React, Vue, Angular, Svelte, Next.js, Remix, jQuery, vanilla JS — if it runs in the browser, Replay records it.

Coding agents

Replay MCP works with Claude Code, Goose, Cursor, Windsurf, or any MCP-compatible tool.

React gets more

Built-in React DevTools, component render chain analysis, Redux / Zustand / TanStack Query state tracking, and framework-aware diagnostics.

Start debugging in under 5 minutes

Three ways to record — pick the one that fits your workflow.

Option A

Replay MCP — agent-driven

  1. Install Replay MCP in your coding agent
  2. Record: npx replayio record https://your-app.localhost:3000
  3. Tell your agent: “Debug this Replay recording — [recording URL]”
Option B

Chrome Extension — visual

  1. Install the Replay Chrome extension
  2. Click record, reproduce the bug, stop recording
  3. Open the recording in Replay DevTools — or share the URL with your coding agent via MCP
Option C

CLI — manual or scripted

  1. Install: npm install -g replayio
  2. Record: replayio record <url>
  3. Investigate in DevTools or via MCP

Common questions

Yes. CI Agent automatically records and analyzes your E2E test failures in your CI pipeline—no manual work needed. This page is about using Replay to debug specific bugs on your own, outside of CI. Same time-travel technology, different workflow.

Also from Replay

Want automated analysis on every CI failure?

Replay CI Agent records every E2E test run automatically and posts root cause + fix as a PR comment — no manual recording needed. Free plan available, $299/mo for Growth.

Learn about CI Agent →

Stop guessing. Start seeing.

Record your first bug and let Replay show you what actually happened.

Get started with Replay MCP →

Free to start. No credit card required.