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.

How Debug works


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 CLIWhat you need locally
Android logcatadb on PATH, USB debugging on, app process running
ESP UARTUSB serial drivers + esptool on PATH
RainMaker CloudAWS 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:

Source chooser

2. Log viewer

After Connect or loading a file/demo:

Log viewer

AreaWhat it does
Source barActive file or socket URL; Change source / Open another
Device chipsToggle Cloud / Mobile / Serial streams
ToolbarFind, level/tag filters, Combined · Separate · Analyse, Share, Download
Logs tableMain view — see below

3. Analyse

Session charts that drive the same filters as the table:

Analyse view

ChartWhat it shows
Log volume & failures over timeStacked levels + error spike line
Log level distributionShare of Verbose → Fatal
Log tags by sourceTreemap of tag volume (click to filter)

Logs table

Logs table

One chronological timeline of every enabled stream (Combined view).

ColumnMeaning
#Line number in the current buffer
DeviceStream id — S-… serial, M-… mobile, CW-… CloudWatch
TimeWall-clock from logcat / CloudWatch; ESP-IDF tick-only lines show as —
LevelVerbose → Fatal (color badges)
TagParsed module tag (own colored column; hover for full name)
LogMessage body (JSON [meta] lines, ESP-IDF text, logcat, Lambda output)

Tips


See also