Title: wp-dBug
Author: vhauri
Published: <strong>2010 年 6 月 24 日</strong>
Last modified: 2013 年 1 月 19 日

---

搜索插件

![](https://ps.w.org/wp-dbug/assets/banner-772x250.jpg?rev=655098)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wp-dbug_464646.svg)

# wp-dBug

 作者：[vhauri](https://profiles.wordpress.org/vhauri/)

[下载](https://downloads.wordpress.org/plugin/wp-dbug.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-dbug/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-dbug/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-dbug/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-dbug/#developers)

 [支持](https://wordpress.org/support/plugin/wp-dbug/)

## 描述

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.

Thanks to @borkweb, the plugin is now compatible with the WP Debug Bar plugin (https://
wordpress.org/extend/plugins/debug-bar/) for extra debugging goodness!

## 安装

 1. Download the plugin and unzip it into wp-content/plugins.
 2. Activate the plugin by going to Plugins and choosing Activate.
 3. Use for debug output anywhere within WordPress by calling wp_dbug( $variable ).

## 常见问题

Q: This is just a class with a wrapper for WordPress. Why bother?
 A: It took 15
minutes to write, and saves me 5 minutes every time I need to debug a new blog. ‘
Nuff said.

Q: Can I use this stuff outside of WordPress?
 A: Yes! Go to http://dbug.ospinto.
com and download the dBug class, then include it in whatever project you’re working
on.

## 评价

此插件暂无评价。

## 贡献者及开发者

「wp-dBug」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ vhauri ](https://profiles.wordpress.org/vhauri/)
 *   [ Matthew Batchelder ](https://profiles.wordpress.org/borkweb/)

[帮助将「wp-dBug」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-dbug)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-dbug/)，查看[SVN仓库](https://plugins.svn.wordpress.org/wp-dbug/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wp-dbug/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-dbug/)。

## 额外信息

 *  版本 **0.2**
 *  最后更新：**13 年前**
 *  活跃安装数量 **60+**
 *  WordPress 版本 ** 2.7 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-dbug/)
 * 标签
 * [debug](https://cn.wordpress.org/plugins/tags/debug/)[debugger](https://cn.wordpress.org/plugins/tags/debugger/)
   [var_dump](https://cn.wordpress.org/plugins/tags/var_dump/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-dbug/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/wp-dbug/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wp-dbug/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wp-dbug/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-dbug/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-dbug/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-dbug/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-dbug/reviews/)

## 贡献者

 *   [ vhauri ](https://profiles.wordpress.org/vhauri/)
 *   [ Matthew Batchelder ](https://profiles.wordpress.org/borkweb/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-dbug/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://neverblog.net/)