Title: Ultimate DebugBar
Author: Avram
Published: <strong>2019 年 6 月 21 日</strong>
Last modified: 2021 年 11 月 1 日

---

搜索插件

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

![](https://ps.w.org/ultimate-debugbar/assets/icon-256x256.png?rev=2604560)

# Ultimate DebugBar

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

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

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

 [支持](https://wordpress.org/support/plugin/ultimate-debugbar/)

## 描述

Ultimate debug bar for your WordPress website. On each page of your website a neat
debug bar will be displayed with the following info:

 * PHP version
 * Request execution time
 * Request memory consumption
 * WordPress-related PHP constants defined in your wp-config.php file
 * All website options (wp_options)
 * Request data
 * Timeline (waterfall) where you can see which portion of execution takes too much
   time
 * List of all hooks triggered on the page whose execution time exceeds 1ms, along
   with some stats
 * List of all database queries performed on the page, along with their source and
   execution time
 * Last 100 lines of your debug.log file (if it exists in wp-content)
 * List of loaded PHP files (categorized)

Besides that, it will track request data/hooks/db queries/mem. consumption in AJAX
calls too (beta).

This plugin is meant to be used during development and/or debugging only. Only administrators
and network administrators (in multi-site environment) can see the debugbar, unless
the `WP_DEBUG` is set to `true`. In that case, everyone will see the debugbar.

Try it instantly on [tastewp.com](https://tastewp.com/new?pre-installed-plugin-slug=ultimate-debugbar&redirect=%2F&ni=true)!

## 屏幕截图

 * [[
 * List of all database queries with their timings
 * [[
 * List of (slow) hooks lasting over 1ms in an AJAX request
 * [[
 * Deserialized/formatted config options
 * [[
 * Timeline (waterfall) of WP execution (TTFB)

## 安装

Use built in plugin installer or unzip ultimate-debugbar.zip in your wp-content/
plugins and activate the plugin through the dashboard.

## 常见问题

Q: AJAX requests are not working when plugin is active
 A: Your server is blocking
Ultimate Debugbar. If you’re running nginx, (check this)[https://stackoverflow.com/
questions/23844761/upstream-sent-too-big-header-while-reading-response-header-from-
upstream].

Q: AJAX requests are not being diplayed in the debugbar
 A: Plugin is trying to 
send too much data in the headers. I’m afraid there’s no solution for this yet.

Q: How do I disable tracking AJAX requests?
 A: Add the following code to your `
wp-config.php`:

    ```
    define('ULTIMATE_DEBUG_AJAX', false);
    ```

## 评价

![](https://secure.gravatar.com/avatar/472851080dac7938ead364adf5baca23efe68f95c8643abab07bd3a0ac155c5e?
s=60&d=retro&r=g)

### 󠀁[Works](https://wordpress.org/support/topic/works-2057/)󠁿

 [tom.andersen](https://profiles.wordpress.org/tomandersen/) 2022 年 9 月 19 日

This plugin seemed to work fine for me. I wish the timeline ‘Rendering’ was broken
down somehow with more granularity. I have always wished for a tway to tell which
crappy plugin is burning up all the time to render a page.

![](https://secure.gravatar.com/avatar/31aad8cf541e79f80f678f4e9b1d97691d5a918bbcd6d5b919d192f0c08afc38?
s=60&d=retro&r=g)

### 󠀁[unobtrusive yet extremely helpful](https://wordpress.org/support/topic/unobtrusive-yet-extremely-helpful/)󠁿

 [eLeXeM](https://profiles.wordpress.org/elexem/) 2022 年 6 月 7 日 1 回复

I don’t understand why this fine little plugin doesn’t have much more fans. It integrates
nicely at the bottom edge of your site-display, offering some KPI at all times, 
ready to be popped open when more information is needed. Its waterfall diagram (
titled “Timeline”) helped me zoom in on a troublemaker in matter of moments; much
more intuitive than quite a few alternatives I have tried before. Thank you, @Avram;
may this live long and gain the audience it deserves.

![](https://secure.gravatar.com/avatar/f36d29de5c13afd86496da617f5452e4cd45a7b17e23377b02819689c642393b?
s=60&d=retro&r=g)

### 󠀁[Zehr gut!](https://wordpress.org/support/topic/zehr-gut/)󠁿

 [Mariusz Szatkowski](https://profiles.wordpress.org/motylanogha/) 2019 年 10 月
17 日 1 回复

Thank you for all the details you provide with that debug bar!

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/ultimate-debugbar/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Avram ](https://profiles.wordpress.org/avram/)

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

### 对开发感兴趣吗?

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

## 更新日志

**0.2**
 – updated debugbar (requires PHP 7.1 now) – added plugin icon

**0.1**
 – initial release

## 额外信息

 *  版本 **0.2**
 *  最后更新：**5 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.5 或更高版本 **
 *  已测试的最高版本为 **5.8.13**
 *  PHP 版本 ** 7.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/ultimate-debugbar/)
 * 标签
 * [database](https://cn.wordpress.org/plugins/tags/database/)[debugging](https://cn.wordpress.org/plugins/tags/debugging/)
   [queries](https://cn.wordpress.org/plugins/tags/queries/)[slow](https://cn.wordpress.org/plugins/tags/slow/)
   [sql](https://cn.wordpress.org/plugins/tags/sql/)
 *  [高级视图](https://cn.wordpress.org/plugins/ultimate-debugbar/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Avram ](https://profiles.wordpress.org/avram/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](https://paypal.me/avramator)