This plugin is basically a wrapper for the excellent dBug (http://dbug.ospinto.com) class for PHP debugging, written by Kwaku Otchere..
Instead of var_dump or echo, you can call wp_dbug( $variable ) to get clear, dynamic debug output of strings, arrays, or objects.
安装:
Download the plugin and unzip it into wp-content/plugins.
Activate the plugin by going to Plugins and choosing Activate.
Use for debug output anywhere within WordPress by calling wp_dbug( $variable ).