Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 992 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 992 Bytes

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);