跳到内容

Pretty Debug

v1.0

wycks · 2013年7月11日 上架

A WordPress plugin that makes var_dump and print_r pretty!

正在使用
10+
评分
5.0 / 5
累计下载
2,093
最近更新
2013年7月12日
1 条评价需要 WordPress 3.5+已测试到 3.5.2

截图

A screenshot with mouseover
A screenshot with mouseover

Make var_dump’s and print_r’s more readable

Function output references with 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 :

All the work was done by 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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums