News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sameer Borate:
Easy PHP debugging with Kint
November 07, 2013 @ 11:24:02

Sameer Borate has posted about using Kint, a "more powerful debugger" that lets you output more data than just the usual var_dump or print_r provides and in a much more readable format.

My standard debugging tool when using PHP is xdebug. Pairing xdebug with Komodo gives me a very productive environment for building PHP applications. However, testing an application code on a hosted server can be many times frustrating as one has only the print_r and var_dump functions at our disposal. What I need is a library that I can easily install on the server and start using. Although there are a few debugging libraries around, one of my favorites is Kint.

He walks you through the installation of the tool and provides an example of the most basic usage (and output) from a call to the tool's "dump" function. He also gets into some of the additional features the library provides including intelligent formatting, debug tracing and limited theme configuration.

0 comments voice your opinion now!
debug kint output printr vardump example setup

Link: http://www.codediesel.com/tools/easy-php-debugging-with-kint/

blog comments powered by Disqus

Similar Posts

Michael Girouard's Blog: Rolling Your Own MVC: The View

PHP-Tip-a-Day: PHP Tutorial: The Allegory of The Factory Pattern

VG Tech: Swagger Docs in ZF2 with Examples - Part 1: Setup and Annotations

Mike Potter's Blog: AMFPHP 1.9 Examples from Renaun Erickson

PHPBuilder.com: Oracle with PHP: a Developer's View


Community Events





Don't see your event here?
Let us know!


series configure conference extension laravel release interview composer voicesoftheelephpant framework version unittest community language podcast opinion list introduction api symfony

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework