- debug-bar
- debug-bar-console
- debug-bar-cron
- debug-bar-list-dependencies
- debug-bar-post-types
- debug-bar-remote-requests
- debug-bar-shortcodes
- debug-bar-transients
- log-deprecated-notices
- log-viewer
- monster-widget
- piglatin
- query-monitor
- regenerate-thumbnails
- rewrite-rules-inspector
- simply-show-hooks
- simply-show-ids
- user-role-editor
- user-switching
- wordpress-beta-tester
- wordpress-importer
- _nano-debug.php
Last active
March 8, 2019 15:55
-
-
Save mayeenulislam/36e788f6e52d42cd824fb69561ccf010 to your computer and use it in GitHub Desktop.
WordPress Debugging plugins I used to use in most of the development workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp-content/plugins/debug-bar | |
wp-content/plugins/debug-bar-console | |
wp-content/plugins/debug-bar-cron | |
wp-content/plugins/debug-bar-list-dependencies | |
wp-content/plugins/debug-bar-post-types | |
wp-content/plugins/debug-bar-remote-requests | |
wp-content/plugins/debug-bar-shortcodes | |
wp-content/plugins/debug-bar-transients | |
wp-content/plugins/log-deprecated-notices | |
wp-content/plugins/log-viewer | |
wp-content/plugins/monster-widget | |
wp-content/plugins/piglatin | |
wp-content/plugins/query-monitor | |
wp-content/plugins/regenerate-thumbnails | |
wp-content/plugins/rewrite-rules-inspector | |
wp-content/plugins/simply-show-hooks | |
wp-content/plugins/simply-show-ids | |
wp-content/plugins/user-role-editor | |
wp-content/plugins/user-switching | |
wp-content/plugins/wordpress-beta-tester | |
wp-content/plugins/wordpress-importer | |
wp-content/plugins/_nano-debug.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: _nano debug | |
* Description: A debugger plugin specific only for the development stage. .gitignore the plugin. PLEASE REMOVE THE PLUGIN BEFORE PRODUCTION. | |
* Plugin URI: https://nanodesignsbd.com/ | |
* Author: nanodesigns | |
* Author URI: https://nishachor.com | |
* Version: 1.0.0 | |
* License: GPL2 | |
* Text Domain: '_nano-debug' | |
*/ | |
/** | |
* Dump variable. | |
* @param integer|array|string|boolean $var Any variable. | |
* @return void. | |
*/ | |
function dump( $var ) { | |
highlight_string("<?php\n\$var =\n" . var_export($var, true) . ";\n?>"); | |
} | |
/** | |
* Dump the var and die. | |
* @param integer|array|string|boolean $var Any variable. | |
* @return void. | |
*/ | |
function dd( $var ) { | |
dump($var); | |
exit(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment