Quick Start
Install the CLI
npm install -g @ocpp-debugkit/cliInspect a trace
Parse and analyze an OCPP 1.6 JSON trace file:
ocpp-debugkit inspect trace.jsonThis outputs a summary with event count, sessions, and detected failures.
Generate a report
Generate a Markdown report from a trace:
ocpp-debugkit report trace.json --output report.mdRun a scenario
Run a predefined scenario through the analysis engine:
# List available scenarios
ocpp-debugkit scenario list
# Run a scenario
ocpp-debugkit scenario run failed-authUse the web inspector
No installation required — visit the inspector and paste a trace, upload a file, or select a sample scenario.
Use the core library
For programmatic use in your own TypeScript/JavaScript project:
import { parseTrace, buildSessionTimeline, detectFailures } from '@ocpp-debugkit/core';
const result = parseTrace(traceString);
const sessions = buildSessionTimeline(result.events);
const failures = detectFailures(result.events, sessions);
console.log(`Found ${failures.length} failures`);