debug
relampo debug runs a YAML scenario in diagnostic mode with live trace output to identify functional and configuration issues.
Purpose
Use debug when you need to:
- inspect a failing flow step by step
- quickly validate changes before
run - diagnose variable, correlation, or step-sequencing issues
Most Used Flags
relampo debug test.yaml
relampo debug test.yaml --validate
relampo debug test.yaml --vus 2
relampo debug test.yaml --duration 30s
relampo debug test.yaml --vus 2 --duration 30s --validate
How debug Works
- Run
relampo debug <file>. - Optionally enable
--validateto validate YAML before debugging. - Relampo executes the scenario with live reporter output and detailed trace.
- If issues appear, adjust the YAML and run again.
Expected Output
- Debug mode start message in terminal.
- If
--validateis used, validation success or validation errors are shown. - Live trace output during execution.
- For invalid input (bad file, exceeded limits, malformed duration), controlled error with non-zero exit.
Debug Mode Limits
--vus: max2for debug.--duration: max1h.
These limits are designed for fast diagnosis and to avoid heavy executions during debugging.
Common Errors
- Running without
<file>. - Non-existent file path.
- Invalid YAML when using
--validate. --vusgreater than2.- Invalid
--durationformat (for example:xyz).