Title: Pretty Debug
Author: wycks
Published: <strong>2013 年 7 月 11 日</strong>
Last modified: 2013 年 7 月 12 日

---

搜索插件

![](https://ps.w.org/pretty-debug/assets/banner-772x250.jpg?rev=739533)

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

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

# Pretty Debug

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

[下载](https://downloads.wordpress.org/plugin/pretty-debug.1.0.zip)

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

 [支持](https://wordpress.org/support/plugin/pretty-debug/)

## 描述

Make var_dump’s and print_r’s more readable

Function output references with [http://queryposts.com](http://queryposts.com) API
when possible.

 * Use `r` instead of `var_dump`
 * Use `rt` for text mode.

For example:

    ```
    r($GLOBALS['wp_query']->get_posts());
    rt($GLOBALS['wp_query']->get_posts());
    ```

Notes :

 * Probably doesn’t work in ie
 * Don’t use this on a production site but you probably already know that
 * More usage [https://github.com/digitalnature/php-ref](https://github.com/digitalnature/php-ref)

All the work was done by [digitalnature](https://github.com/digitalnature) I just
wrapped it into a WordPress plugin and changed the look for inline debugging.

Please report issues to: [https://github.com/wycks/WP-Pretty-Debug](https://github.com/wycks/WP-Pretty-Debug)

## 屏幕截图

 * [[
 * A screenshot with mouseover

## 安装

Use the Auto Installer.
 Or Upload the zip and hit install.

## 常见问题

What is this?

[var_dump](http://php.net/manual/en/function.var-dump.php) – Dumps information about
a variable.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ wycks ](https://profiles.wordpress.org/wycks/)
 *   [ digitalnature ](https://profiles.wordpress.org/digitalnature/)

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

### 对开发感兴趣吗?

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

## 额外信息

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

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ wycks ](https://profiles.wordpress.org/wycks/)
 *   [ digitalnature ](https://profiles.wordpress.org/digitalnature/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://wordpressfoundation.org)