Documents
07 - Debugging Guide
07 - Debugging Guide
Type
Document
Status
Published
Created
May 26, 2026
Updated
May 26, 2026
Updated by
Dosu Bot

07 - Debugging Guide#

When something breaks in Helmor, identify which layer owns the problem. Most issues fall into one of four categories.

Layer model#

LayerSymptomsWhere to look
Frontend (UI)Blank panels, broken layout, stale stateBrowser DevTools console (Cmd+Opt+I in dev mode)
Tauri backendCommands fail silently, data not persistingRust logs in the terminal running the app
Sidecar (agent process)Session hangs, no agent response, JSON parse errorsSidecar stdout/stderr logs
Git / filesystemWrong branch, missing files, dirty working treegit status, git log, workspace path on disk

Quick checks#

  1. Restart Helmor — clears transient state and reconnects the sidecar.
  2. Check the terminal — if running in dev mode (bun run dev), errors print directly.
  3. Verify agent auth — run the agent CLI outside Helmor (e.g., claude --version) to confirm it works independently.
  4. Inspect the workspace path — confirm the directory exists and Git reports a clean or expected state.

Development logging#

Increase verbosity with the HELMOR_LOG environment variable:

HELMOR_LOG=debug bun run dev

For narrower output, target a specific module:

HELMOR_LOG=helmor::sidecar=trace bun run dev

Pipeline debugging (streaming messages)#

If agent messages render incorrectly in the UI:

  1. Compare raw sidecar events (JSON streamed from the agent process).
  2. Check accumulator output (how Helmor merges partial events).
  3. Inspect stored database rows (the persisted session data).
  4. Verify the frontend message shape (what React receives and renders).

A mismatch at any stage points to the bug's layer.

07 - Debugging Guide | Dosu