Debug Hub — Developer Guide
Inspect multi-stream logs (ESP UART, Android logcat, CloudWatch) in the Evaluation Hub at /debug.
The CLI is only the local prerequisite that feeds live logs into the hub. This guide focuses on the hub screens and the logs table.

Prerequisite: start the CLI stream
Install once (Node.js ≥ 22):
npm install -g @espressif/rainmaker-home-app-cli
Start streaming (leave this running):
rainmaker-home-app-cli debug
When ready, the CLI prints:
WebSocket ws://127.0.0.1:9234/
| Source you pick in the CLI | What you need locally |
|---|---|
| Android logcat | adb on PATH, USB debugging on, app process running |
| ESP UART | USB serial drivers + esptool on PATH |
| RainMaker Cloud | AWS credentials with CloudWatch Logs Live Tail access |
No hardware yet? Open /debug and use Try demo session or paste a log instead.
Hub screens
1. Source chooser
First screen when nothing is connected:

- Try demo session — sample USB + mobile + CloudWatch (no devices needed)
- Live WebSocket — connect to the CLI at
ws://127.0.0.1:9234/ - Open log file — drop / choose a
.log, or paste combined log text
2. Log viewer
After Connect or loading a file/demo:

| Area | What it does |
|---|---|
| Source bar | Active file or socket URL; Change source / Open another |
| Device chips | Toggle Cloud / Mobile / Serial streams |
| Toolbar | Find, level/tag filters, Combined · Separate · Analyse, Share, Download |
| Logs table | Main view — see below |
3. Analyse
Session charts that drive the same filters as the table:

| Chart | What it shows |
|---|---|
| Log volume & failures over time | Stacked levels + error spike line |
| Log level distribution | Share of Verbose → Fatal |
| Log tags by source | Treemap of tag volume (click to filter) |
Logs table

One chronological timeline of every enabled stream (Combined view).
| Column | Meaning |
|---|---|
| # | Line number in the current buffer |
| Device | Stream id — S-… serial, M-… mobile, CW-… CloudWatch |
| Time | Wall-clock from logcat / CloudWatch; ESP-IDF tick-only lines show as — |
| Level | Verbose → Fatal (color badges) |
| Tag | Parsed module tag (own colored column; hover for full name) |
| Log | Message body (JSON [meta] lines, ESP-IDF text, logcat, Lambda output) |
Tips
- Drag across rows to select a range → Range / Ask AI / Share
- Drag column edges to resize; double-click a handle to reset width
- Find highlights matches across device, tag, and message
- Separate view: one column per stream · Analyse: session charts that drive the same filters
- Filter → Tag visibility to show/hide noisy modules by count
See also
- Open the hub: /debug
- npm: @espressif/rainmaker-home-app-cli