Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: KnowTheCode/debug-toolkit

1.0.0 Beta Release

08 Mar 01:18

Choose a tag to compare

1.0.0 Beta Release Pre-release
Pre-release

This beta release is ready for testers to check out the following functionality:

  • Whoops container - try putting does_not_exists(); in your code to see if it appears.
  • VarDumper tool - a simple variable dumper when you only want to see the value:
    Try these functions and provide feedback. Put this code in your theme's functions.php file:
add_action( 'loop_start', function() {
        global $wp_query;

	$array = [
		'ID'    => get_the_ID(),
		'title' => get_the_title(),
	];

	vd( $array );
        vddd( $wp_query );
} );
  • Kint tool - more features such as call stack, memory size, and more.
add_action( 'loop_start', function() {
        global $wp_query;

	$array = [
		'ID'    => get_the_ID(),
		'title' => get_the_title(),
	];

	d( $array );

	s( $array );

        ddd( $wp_query );
} );

Feedback is greatly appreciated.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.