AI agents: run lumitrace help --format json to get structured help.
lumitrace help --format jsonlumitrace schema --format jsonlumitrace help --format json.lumitrace schema --format json to understand output structure.--collect-mode and optional --max-samples.--collect-mode types to get a compact shape of runtime behavior.--collect-mode last for final value inspection on suspicious lines.--collect-mode history --max-samples N only when value transitions matter.--range or --git-diff to keep outputs small and focused.lumitrace [options] script.rb [ruby_opt]
lumitrace [options] exec CMD [args...]
lumitrace help [--format text|json]
lumitrace schema [--format text|json]
last: Keep only the last observed value and type counts.types: Keep only type counts and total hit count.history: Keep last N sampled values and type counts.--collect-mode (default=”last”; values=last,types,history)--max-samples (default=3; Used by history mode.)-j / --json PATH (Emit JSON output. -j uses default path; –json PATH writes to PATH.)-h / --html PATH (Emit HTML output. -h uses default path; –html PATH writes to PATH.)-t / --text PATH (Emit text output. -t uses default path; –text PATH writes to PATH.)-g, --git-diff[=MODE] (Restrict instrumentation to diff hunks.)--range SPEC (repeatable=true; Restrict instrumentation to file ranges.)--git-diff-context N (Expand diff hunks by +/-N lines.)--git-cmd PATH (Git executable for diff.)--git-diff-no-untracked (Exclude untracked files from diff.)--root PATH (Root directory for instrumentation.)--verbose[=LEVEL] (Verbose logs to stderr (level 1-3).)lumitrace --collect-mode history --max-samples 5 -j app.rblumitrace --collect-mode types -h -j app.rblumitrace --collect-mode last -j exec bin/rails testlumitrace --json output.json exec bin/rails testlumitrace -j --html report.html app.rblumitrace help --format jsonlumitrace schema --format json