Debug Mode is a developer-focused diagnostic feature that provides detailed runtime information about the bot’s internal operations.
When enabled, Debug Mode replaces the normal dashboard interface with real-time system logs, tracing data, warnings, and error messages.
It is primarily intended for:
- Troubleshooting configuration issues
- Diagnosing exchange connectivity problems
- Reviewing strategy execution flow
- Monitoring internal decision logic
- Identifying unexpected behavior
What Happens When Debug Mode Is Enabled?
Normally, MagicTradeBot displays a structured dashboard showing:
- Active positions
- Market data
- Strategy status
- PnL summaries
- Bot health information
When Debug Mode is enabled:
- ❌ The dashboard is hidden
- ✅ Real-time logs are printed directly to the screen
- ✅ Detailed tracing information becomes visible
- ✅ Warnings and system errors are shown immediately
- ✅ Internal decision flow messages are displayed
You will see low-level operational messages such as:
- Signal evaluation logs
- Order placement attempts
- Exchange API responses
- Risk management checks
- Strategy state transitions
Is Debug Mode Required for Normal Use?
No.
For regular users, Debug Mode is not required.
MagicTradeBot runs perfectly in normal mode, and all important logs are already stored in the /logs/ directory automatically.
For most users:
- It is better to keep Debug Mode disabled
- Review log files only when needed
- Share log files with support if troubleshooting is required
When Should You Use Debug Mode?
Debug Mode may be useful if:
- You are developing or modifying strategies
- You are integrating a new exchange
- You suspect configuration errors
- Orders are failing unexpectedly
- You are working with support to diagnose an issue
It provides immediate visibility into what the bot is doing internally.
Important Recommendation
For production/live trading:
- Keep Debug Mode disabled
- Allow the dashboard to display normally
- Use the
/logs/folder for reviewing past activity
If you experience issues:
- Disable Debug Mode (if enabled)
- Locate the relevant log file inside
/logs/ - Share the log file with MagicTradeBot support for analysis
This ensures faster and more accurate troubleshooting.
Summary
Debug Mode:
- Replaces the dashboard with detailed runtime logs
- Displays tracing, warnings, and error messages
- Is primarily designed for developers and diagnostics
- Is not necessary for normal trading operations
It is a powerful diagnostic tool — but for everyday use, the standard dashboard and log files are sufficient.