SuiteCRM debugging helps developers identify application errors, investigate unexpected behaviour, and resolve technical issues efficiently. Whether you are working with custom modules, third-party integrations, or CRM extensions, proper debugging makes it easier to understand what is happening behind the scenes.
The SuiteCRM Debugger extension developed by OutRight Systems provides a simple way to capture and review debugging messages. It includes on-demand logging, configurable record limits, sequential log entries, and an option to clear stored logs.
This guide explains how the extension works, its key features, and how developers can use debugging to troubleshoot SuiteCRM issues.
What Is SuiteCRM Debugging?
SuiteCRM debugging is the process of identifying errors and investigating unexpected application behaviour. Developers use debugging information to understand why a module fails, why an integration stops working, or why a custom function produces unexpected results. Using SuiteCRM error monitoring and troubleshooting tools can help developers identify application errors, monitor server logs, and investigate technical issues more efficiently.
A debugging tool records relevant messages generated during application execution. These records help developers trace problems without repeatedly checking the entire application codebase.
Common scenarios where debugging is useful include:
- Custom modules not working as expected.
- CRM integrations failing to exchange data.
- Unexpected errors during record creation or updates.
- Custom functions producing incorrect results.
- Issues with third-party SuiteCRM extensions.
Overview of the OutRight SuiteCRM Debugger Extension
The OutRight Systems Debugger extension provides a dedicated module for capturing and reviewing debugging messages.
Unlike continuous logging, the extension keeps its logging functionality disabled by default. Developers can activate it when troubleshooting is required and stop it once sufficient information has been collected.
The extension also supports configurable log limits, automatic serial numbering, and manual log clearing.
These features make it easier to collect relevant diagnostic information while keeping unnecessary records under control.
Key Features of the SuiteCRM Debugger

The extension includes several features designed to simplify application-level troubleshooting.
1. On-Demand Logging
Logging remains disabled by default. Developers can start the debugger with one click when they need to investigate an issue.
2. One-Click Start and Stop
The debugger provides simple controls to start and stop logging. This helps prevent unnecessary log collection when troubleshooting is not required.
3. Configurable Log Limits
Developers can define the maximum number of records stored in the debugger module. Once the configured limit is exceeded, older log records are automatically flushed according to the extension’s log-management behaviour. Using a SuiteCRM server error monitoring extension helps administrators track application errors, review server logs, and manage error reports more efficiently.
4. Automatic Serial Numbering
Each new log entry receives an incremented serial number, making it easier to identify and sort debugging records.
5. Centralized Log Records
Debugging messages are stored in the dedicated outr_debugger module, allowing developers to review captured information in one place.
6. Manual Log Clearing
Developers can clear the stored debugging records with a single action after completing an investigation.
7. Simple Logging Function
The extension provides the outright_error_log() function to record custom debugging messages.
How to Use the SuiteCRM Debugger Extension
Follow these steps to capture and review debugging information.
Step 1: Open the Debugger Module
Navigate to the OutRight Debugger module in your SuiteCRM installation.
Step 2: Start the Debugger
Enable logging using the available start control. Logging remains inactive until you manually start it.
Step 3: Reproduce the Issue
Perform the action that causes the unexpected behaviour. For example, create a record, execute a custom function, or trigger an integration.
Step 4: Review Debugging Records
Open the debugger module and examine the captured messages. Use the serial numbers to identify the latest entries.
Step 5: Configure the Record Limit
Locate the record named Settings, open it for editing, and configure the maximum number of log records according to your requirements.
Step 6: Stop Logging and Clear Records
Once you have collected sufficient information, stop the debugger. Clear unnecessary records after completing the investigation.
How to Add Custom Debugging Messages

Developers can use the outright_error_log() function to record custom messages during application execution.
Example:
outright_error_log(
"My logged description",
"outr_debugger"
);
This example demonstrates how to submit a custom message to the debugger module when logging is active.
Developers can use descriptive messages to identify which function or operation is being executed.
For example, when troubleshooting a custom module, you can log messages before and after a database operation to help narrow down where the issue occurs.
Always verify the function signature and usage against the installed extension version before implementing it in production.
Common SuiteCRM Issues You Can Investigate
The debugger can help developers collect application-level information when investigating different technical problems.
| Issue | What to investigate |
| Custom module errors | Function execution and application errors |
| Integration failures | API responses and custom integration logic |
| Record creation problems | Validation and save operations |
| Unexpected CRM behaviour | Custom code execution |
| Extension-related issues | Relevant application-level messages |
The debugger helps capture diagnostic information but does not automatically fix database, server, permission, or configuration problems. Additional investigation may be necessary. Following SuiteCRM troubleshooting and diagnostic practices helps administrators investigate application errors, review system logs, identify permission issues, and resolve database or configuration problems.
SuiteCRM Debugging Best Practices for 2026
Modern CRM maintenance requires a combination of debugging, performance monitoring, and security practices.
Consider these recommendations when maintaining a SuiteCRM installation:
- Keep SuiteCRM Updated: Use a supported release and review official maintenance and security updates.
- Monitor Application Logs: Regularly inspect SuiteCRM and PHP error logs for recurring issues.
- Test Customizations: Test custom modules and integrations in a staging environment before production deployment.
- Monitor Scheduled Jobs: Check cron execution and background processes to identify workflow disruptions.
- Protect Sensitive Information: Never store passwords, API tokens, authentication credentials, or unnecessary personal information in debugging logs.
- Manage Log Retention: Configure appropriate record limits and remove unnecessary diagnostic information.
- Review Performance: Investigate slow database queries, PHP configuration, and application response times separately from application-level debugging.
SuiteCRM 8.10 and 7.15 ESR are among the officially supported release lines as of December 2026. SuiteCRM 8.10 also includes improvements to its developer framework and application functionality. Before installing or upgrading an extension, verify compatibility with your SuiteCRM version and PHP environment.
Conclusion
Effective debugging is essential for maintaining a stable SuiteCRM environment. It helps developers identify application errors, investigate custom functionality, and troubleshoot extension-related problems. The OutRightSystems SuiteCRM Debugger simplifies this process through on-demand logging, configurable record limits, sequential log numbering, and centralized debugging records. By combining these capabilities with regular application monitoring, security updates, and proper testing, developers can make SuiteCRM maintenance and troubleshooting more efficient.
A SuiteCRM debugger helps developers capture and review application messages to identify errors, investigate unexpected behaviour, and troubleshoot custom functionality.
You can enable debugging through the relevant extension's controls or SuiteCRM configuration. The OutRight Debugger extension allows users to start logging directly from its dedicated module.
It can help capture application-level messages related to database operations. However, investigating database performance or server-level failures may require additional database and server logs.
Yes. The OutRight Debugger extension allows developers to configure a maximum record limit through its Settings record.
Yes. Debugging helps developers investigate errors, verify function execution, and identify issues in custom modules before deploying changes to a production environment.
