Backend Evidence
A browser can tell you a request failed. Backend evidence tells you why. When it is enabled, Claron records what your server did for each request in a review session and attaches it to the bug report, so you can open a report and see the server side of the failure without searching logs or reproducing it again. Overview: backend debugging.
Before you start
A project owner, a supported hosted SSR build or your own backend with the backend SDK, and about five minutes for a one-time setup.
What you get
Each new bug report carries what your server did for the exact request that failed: the functions it ran, the errors it hit, the values it saw, and the source lines, unlocked only in your browser.
What it helps you with
| Situation | How backend evidence helps |
|---|---|
| A button fails and the browser only shows 500 Internal Server Error | Open the request's Backend tab to see the exception the server recorded, the function it came from, and the source line, instead of guessing from a status code. |
| You can't tell whether the bug is in the frontend or the backend | Compare the browser's request and response with what the server actually ran. If the server never recorded the request, or returned cleanly, the cause is probably elsewhere. |
| The bug only happens for certain data or certain users | The State view shows the arguments, local values, and return values the server captured during that request, so you can see what was different this time. |
| A tester reports a bug and a developer has to fix it | The evidence travels with the report. The developer opens the same annotation and sees the same server execution, with no need to reproduce it first or ask for logs. |
| The server called a database or another service | Dependencies shows the database and external calls the server made, so you can see if a downstream call was slow or failed. |
| You need to check a fix | Reproduce the scenario in a new review on the fixed build and compare the new request's evidence with the original report. |
How it works
During a review session, each request that reaches a registered server gets a matching server capture: the functions it ran, decisions it took, values it saw, logs, errors, and outgoing calls. Claron links that capture to the request in the bug report's Network tab.
The capture is encrypted before it is stored. During setup, Claron creates your project's keys in your browser; only the public keys are sent to Claron. Evidence is decrypted in the browser of someone who has the project's recovery file and password, so the server-side content is not readable by Claron or by anyone without that access.
Who can do what: project owners set it up. Owners, developers, and testers who have diagnostic access can open evidence in the Network tab. Clients and guests do not see diagnostic tabs.
Choose the setup for your server
| Your application | Setup |
|---|---|
| Supported SSR app built and hosted by Claron | Enable backend evidence (next section), then rebuild. The build registers the app's SSR server for capture automatically. |
| Separate API or backend on your own hosting | Keep it on your infrastructure and connect it with the backend SDK using claron backend init. Claron does not host separate backends. |
| Static-only site | There is no server to capture. Connect a separate API you own if that is the evidence you need. |
Set it up (project owner, once per project)
Open the Backend evidence settings
Open the project, select Settings, then Backend evidence. You can start while the first build is still running; Claron suggests it at that point.
Choose a recovery password
Enter a password of at least 16 characters, confirm it, and select Create my recovery files. You choose this password yourself; there is nothing to request from your hosting provider.
Download both files
Download the Evidence recovery file and the Administrator backup. The evidence recovery file unlocks evidence in a browser. The administrator backup lets you finish setup if it is interrupted. Keep both, with the password, in a password manager.
Confirm and enable
Tick I saved both files and my recovery password. Leave Remember access on this trusted device on for your own computer, and turn it off on a shared one. Then select Enable backend evidence.
Register the server
For a hosted SSR app, select Rebuild project. For your own backend, run the backend SDK setup. Select Refresh service registration and check that the settings say the backend service is registered.
Let the in-app guide walk you through it
Open Guides in the top bar and choose Set up backend evidence, or select Show backend setup guide in the Backend evidence settings. The guide moves forward only when you actually complete each action (creating the files, saving both, enabling, registering a service), not when you click Next.
To unlock evidence on a new browser, choose Restore backend evidence access in Guides. It opens a report's Network tab and points at the recovery file, password, and Enable this device controls.
Guides never create keys, enable evidence, or change access for you. You do those yourself.
Capture a request and open its evidence
Start a new review session
Evidence is only recorded while it is enabled, so start a new review after setup and after the rebuild.
Reproduce the problem
Do the action that calls your server, such as submitting a form, and drop an annotation on what went wrong.
Open the request
Open the annotation, select the Network tab, and choose the request that failed or behaved oddly. Requests with server evidence show a dot on their Backend tab.
Open the Backend tab
On a trusted browser, the evidence opens automatically. Otherwise, unlock this browser once (see below).
Read the evidence
| Part | What it tells you |
|---|---|
| Summary | Observed duration, Function calls, Decisions, and Exceptions for this request, so you can spot a slow or failing request at a glance. |
| Execution | The functions the server ran for this request, in order, and the branches it took. Start here to follow the path to the failure. |
| Logs and errors | Application logs and captured errors, including whether the app caught them. |
| State | Arguments, local values, and return values captured along the way, so you can see which data caused the problem. |
| Dependencies | Database and external calls the server made for this request. |
| Source | The file and line for each step. When the build has a GitHub repository and commit, the link opens that exact line. |
Give a teammate access
Check their project role
They need to be a developer or tester on the project (owners always have access). See Team & Roles.
Share the evidence recovery file and password securely
Use a password manager or another secure channel. Share only the Evidence recovery file, never the Administrator backup.
They unlock their browser once
They open any report's request, go to Backend, and follow the steps in the next section.
Unlock evidence on a new browser
To remove access from a browser, select Lock this device under the evidence or in Backend evidence settings. Your password is never saved in the browser.
Open a request with evidence
Open an annotation, select Network, choose a request, then Backend. A locked browser shows Restore access on this device.
Choose the evidence recovery file
Use the project's evidence recovery JSON file, not the administrator backup.
Enter the original recovery password
Use the password chosen when the files were created. A new password cannot open an existing file.
Enable this device
Leave Remember access on this trusted device on for your own computer so evidence opens automatically across reports and reloads. Then select Enable this device.
Finish an interrupted setup
If setup stopped after the keys were created but before evidence was enabled, the settings show Finish your previous setup. Choose the Administrator backup from that setup, enter its original recovery password, and select Unlock backup and continue. Ask the owner who started the setup if you don't have the backup.
Missing, locked, or incomplete evidence
| What you see | What it means and what to do |
|---|---|
| Pending attachment | The server capture hasn't arrived yet. The panel checks automatically until the capture window ends. |
| Unavailable | No server capture arrived in time. The browser request details are still there. Check that evidence was enabled, the service is registered, and the new build was running when the request was made, then reproduce it in a new review. |
| Expired | The saved evidence has passed its retention period. The browser request details remain. |
| Restore access on this device | This browser is locked. Unlock it with the evidence recovery file and original password. |
| Check your recovery file and the password | The file or password is wrong. Make sure you chose the evidence recovery file for this project and the original password. |
| Old report has no evidence | Requests made before evidence was enabled were never recorded and cannot be recovered. Reproduce the issue in a new review. |
Security and limits
Removing the SDK or backend setup stops future capture for that service. It doesn't remove access from browsers that are already unlocked; use Lock this device on those browsers.
MCP returns backend correlation references and availability only. It never returns backend evidence content, ciphertext, or recovery keys.
Rebuild after you update the SDK or server instrumentation so new requests use it.
