CodeIgniter Forums
The new CI4 Kint Debugger is great and Oh so simple to use - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forum-31.html)
+--- Thread: The new CI4 Kint Debugger is great and Oh so simple to use (/thread-65568.html)



The new CI4 Kint Debugger is great and Oh so simple to use - John_Betong - 06-26-2016

I have been playing with CI4 and really like the Kint Debugger. It is activated from index.php by setting $useKint = true; // default === false;. 

It is very useful and has so many unobtrusive features. It is a pleasure to use. 

Simple usage is to add d($variable) anywhere in your PHP script. The browser page renders a small check box with a plus-sign. Selecting the checkbox reveals comprehensive details of the variable selected (which can be a variable, array, object, etc). Toggling again hides the displayed information. Simple and effective. Further details from:

http://raveren.github.io/kint/

Great choice and congratulations to the team.