Search Over 18,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Kint Debugger

Kint Debugger makes debugging and dumping variables a more pleasant experience. Kint Debugger integrates seamlessly with the Debug Bar plugin.

Kint Debugger is a simple WordPress wrapper for Kint, a debugging tool to output information about variables and traces. Debugging is presented in a styled, collapsible format that is easy on the eyes. Kint Debugger plays nice with the Debug Bar plugin by creating its own panel to display your debug results.

No more adding PRE tags before print_r or var_dump!

For those who love Krumo, Kint is Krumo++.

Dumping variables is easy:

  • d($variable) will output a styled, collapsible container with your variable information
  • dd($variable) will do exactly as d() except halt execution of the script
  • s($variable) will output a simple, un-styled whitespace container
  • sd($variable) will do exactly as s() except halt execution of the script

Backtrace is also easy:

  • Kint::trace() The displayed information for each step of the trace includes the source snippet, passed arguments and the object at the time of calling

We've also baked in a few functions that are WordPress specific:

  • dump_wp_query()
  • dump_wp()
  • dump_post()

When you use the ever awesome Debug Bar plugin, Kint Debugger keeps your theme looking beautiful by placing all debug output into a Debug Bar sub-panel. If you are not using Debug Bar, your debug output will be displayed inline.

Author Brian Fegter
Profile
Contributors misternifty, chriswallace
Tags backtrace, debug, debug bar, debugger, debug_backtrace, developer, krumo, php, print_r, tool, trace, var_dump
  1. kint-debugger screenshot 1

    Kint debugging outputs are easy on the eyes.

  2. kint-debugger screenshot 2

    Kint integrates with WP Debug Bar

Upload the Kint Debugger plugin to your wp-content/plugins/ directory and activate.

0.2

  • Added Debug Bar support

0.1

  • Added Kint 3.2 and created dump_wp_query(), dump_wp(), and dump_post() functions

If you have a feature request or question, please use the Kint Debugger support forum.

I have called the debug functions, but I can't find the output!

  • If you have the Debug Bar plugin installed, all of your debug results will be displayed under the "Kint Debugger" sub panel.

If you have a feature request or question, please use the Kint Debugger support forum.

If you have a question about Kint specifically, please visit the Kint site.

Share  
Download
Version 0.3

Requires WordPress version: 2.5 or higher

Compatible up to: 3.5.1

Last Updated 27 Dec 2012

Date Added: 15 Feb 2012

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

5 stars
2 ratings
1,226 downloads

Compatibility

Not Enough Data

Reports:
Works: 2
Broken: 0