Skip to main content

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​

  1. Open your strategy in Code Mode.
  2. Click on the Debugger Icon (as shown in the demo).
  3. Specify the date range for which you would like to perform the debug.
  4. 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.