Debugger Mode
The Debugger in the code builder interface helps you trace, test, and refine your trading strategies directly inside the Code Builder. It gives you a clear step-by-step view of what your strategy is doing behind the scenes.
π What It Doesβ
- Runs your code line by line.
- Highlights entry signals, exit triggers, and risk controls.
- Lets you inspect variables, positions, and logs at every step.
π Key Featuresβ
- Action Logs β Every trade action is clearly logged for easy debugging.
- Variable Watch β Monitor backtest trades seamlessly within the code builder environment.
- Error Tracing β If something fails, see exactly where and why.
π Debugger Mode Demoβ
Hereβs a demo video showing how the debugger works:
π How to Useβ
- Open your strategy in Code Mode.
- Click on the Debugger Icon (as shown in the demo).
- Specify the date range for which you would like to perform the debug.
- Inspect logs and outputs to confirm your strategy behaves as expected.
β Best Practicesβ
- Always run debugger first before forward testing.
- Inspect logs to validate your strategy logic.
- Save/download logs for improved traceability and better understanding of system behavior.