DebugKit provides a debugging toolbar and enhanced debugging tools for CakePHP applications. It lets you quickly see configuration data, log messages, SQL queries, and timing data for your application.
- SQLite (pdo_sqlite) or another database driver that CakePHP can talk to. By default DebugKit will use SQLite, if you need to use a different database see the Database Configuration section in the documentation linked below.
For details and older versions see version map.
- Install the plugin with Composer from your CakePHP Project's ROOT directory (where the composer.json file is located)
php composer.phar require --dev cakephp/debug_kit:"^4.0"
// src/Application.php $this->addPlugin('DebugKit');
'debug' => true,in
Is DebugKit not working?
If you don't see a CakePHP icon on the bottom right of your page DebugKit is not be working correctly. Some common problems are:
- Your PHP environment doesn't have SQLite installed. Check your application logs to confirm if this happening. You can either configure DebugKit to use a different database, or install the PDO SQLite 3 extension.
- Your hostname needs to be added to the
DebugKit.safeTld. If your local domain isn't a known development environment name, DebugKit will disable itself to protect a potentially non-development environment.
If you have a problem with DebugKit please open an issue on GitHub.
Documentation for DebugKit can be found in the CakePHP documentation.