Skip to content

dorian-marchal/concrete5-kint-debug

Repository files navigation

Kint Debug

Add Kint debugging tools to a Concrete5 website.

Kint is a tool designed to present your debugging data in the absolutely best way possible.

Disclaimer : I am not the developer of Kint, see Kint documentation for more informations.

Usage

The use of Kint is described in the official documentation.

For example :

d($this->getRelativePath());
d($_SERVER);

Output :
debug_kit

Note that Kint will be disabled if concrete.debug.display_errors is false.

error

If you want to manually enable/disable Kint, you can use :

<?php
// Enable Kint
\Kint::enabled(true);

// Disable Kint
\Kint::enabled(false);