Frontend Systems

Latta Session Replay & Debugging

A debugger inside a session-replay product: pick any moment of a recorded session and inspect the page as it was. I built the debugging workspace on the existing replay foundation.

My role
Substantial replay/debugger frontend contribution
Context
Frontend EngagementsApr 2024 — May 2025
Focus
SolidJS, TypeScript, rrweb

Problem

Debugging a difficult bug report needs the browser state at a moment in time, not a video of what the user saw.

Mechanism

One recording, replayed as a page you can inspect

A session is not played back as video. The recorded page is rebuilt as a real document, moment by moment, and opened in tools built for it: its structure as a tree, the node that just changed, and the CSS rules behind any element.

ElementsStylesopenedcart loadeditem addedPay pressed00:42
  1. ReplayThe recording is rebuilt as a real page and stepped through as it changed.
  2. InspectIts DOM as an expandable tree. Whatever changed at this moment is marked.
  3. ExplainSelect an element and read the CSS rules behind it, beside console, network and sources.

Scope

What was there, and what I built

Latta already had the product, its capture and replay infrastructure and a frontend foundation. I built the Snapshot and debugger subsystem in SolidJS: replay integration, recursive DOM inspection, replay-time change highlighting, CSS inspection, search and the developer-tool panels. The Styles panel reads rules from the recording's own style sheets and inline styles.

Outcome

Replay became a DevTools-style workspace where DOM, styles, console, network and sources are inspected at replay time.