Skip to content

AutoTracerAutomated Tracing for JavaScript and React

Keep your code free of console.logs; see exactly what happened

From an Action to an Explanation ​

Choose an interaction or test, select the source to instrument, run it, and collect the trace. Use FlowTracer to inspect function calls and values, and ReactTracer to inspect component activity, props, and state.

The first-trace walkthrough connects a button click to a function return, a state change, and a React render. It includes build configuration, runtime initialization, start/stop commands, and the signals to verify.

For an existing integration, choose browser capture, browser test capture, or FlowTracer in Vitest. Then explain the observed execution, whether it is working as intended or showing a bug.

AutoTracer observes selected source during a capture window. It does not automatically record every statement or connect events across runtimes. The analysis guide explains what the output establishes and where further evidence is needed.

Choose Your Path ​

🔍 I want to trace function execution

Use FlowTracer for general code flow debugging

Get Started →

⚛️ I want to trace React renders

Use ReactTracer for component render debugging

React 19 →React 18 →

🎯 I want both

Observe function execution and React updates in the same capture

Learn More →

Packages ​

PackageDescriptionnpm
@autotracer/react19React 19 component render tracernpm
@autotracer/react18React component render tracer runtimenpm
@autotracer/flowFunction and code flow tracer runtimenpm
@autotracer/plugin-vite-react19Vite plugin for React 19 injectionnpm
@autotracer/plugin-vite-react18Vite plugin for ReactTracer injectionnpm
@autotracer/plugin-babel-react19Babel plugin for React 19 injectionnpm
@autotracer/plugin-babel-react18Babel plugin for ReactTracer injectionnpm
@autotracer/plugin-vite-flowVite plugin for FlowTracer injectionnpm
@autotracer/plugin-babel-flowBabel plugin for FlowTracer injectionnpm
@autotracer/dashboardBrowser dashboard for targeted controlnpm
@autotracer/loggerInternal shared logger utilitynpm

Released under the MIT License.