Configuration
Last updated
Last updated
The debugger is highly configurable, and we have many settings to assist you in your development adventures and performance tuning. The debugger works by activating data collectors and configuring them. Please note that the more collectors you activate, the slower your application can become. By default, we have pre-selected defaults, which add negligible performance to your applications.
The ColdBox Debugger collectors are powerful listeners used for debugging and analyzing applications built on ColdBox. These collectors gather various types of information and statistics during the execution of an application, allowing developers to gain insights into the application's behavior and performance.
The collectors are designed to capture data related to different aspects of an application, such as request information, execution times, database queries, cache usage, and log messages. Please note that each collector can have its own configuration options.
Collector | Enabled | Description |
---|---|---|
If you are in ColdBox 6, add the following configuration settings to the moduleSettings
structure in your config/Coldbox.cfc
or if you are in ColdBox 7+ you can create a config/modules/cbdebugger.cfc
and add your configuration. Here is the default configuration CBDebugger ships with:
You can enable or disable the request tracking globally via the enabled
master switch, make sure to set debugPassword
The ColdBox debugger can be placed in production environments and enabled via our URL password actions. This allows you to profile your application and then turn on the debugger just for YOU via our debugging cookies.
Please note that you can also add a cbSecurity
rule if needed and add further security, which we recommend.
In development environments where no password is needed use the follwing setting debugPassword : ""
, cb:null
will generate a random password.
If you can't access the debugger pannel, you might need to add debugmode=1
to your request
You can enable/disable the rendering of our request panel dock which shows the profiling of the request.
Tracks all SQL calls made by Adobe
Tracks ColdBox executors and tasks
Monitors and tracks Cache Providers
Tracks all SQL calls made via cborm criteria queries or helpers
Tracks the rc
and prc
collections in the debugger.
Tracks all Hyper API calls
Tracks all SQL calls made by Lucee
Monitors module registration and activations
Tracks all SQL calls made via qb
Tracks incoming ColdBox requests
Enables tracer messages in a request profile