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

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 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://tw.wordpress.org/plugins/ultimate-debugbar/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/ultimate-debugbar/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/ultimate-debugbar/#installation)
 * [開發資訊](https://tw.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 all database queries 
with their timings⌉[

List of all database queries with their timings

[⌊List of (slow) hooks lasting over 1ms in an AJAX request⌉⌊List of (slow) hooks
lasting over 1ms in an AJAX request⌉[

List of (slow) hooks lasting over 1ms in an AJAX request

[⌊Deserialized/formatted config options⌉⌊Deserialized/formatted config options⌉[

Deserialized/formatted config options

[⌊Timeline (waterfall) of WP execution (TTFB)⌉⌊Timeline (waterfall) of WP execution(
TTFB)⌉[

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 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.8.13**
 *  PHP 版本需求 ** 7.1 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/ultimate-debugbar/)
 * 標籤:
 * [database](https://tw.wordpress.org/plugins/tags/database/)[debugging](https://tw.wordpress.org/plugins/tags/debugging/)
   [queries](https://tw.wordpress.org/plugins/tags/queries/)[slow](https://tw.wordpress.org/plugins/tags/slow/)
   [sql](https://tw.wordpress.org/plugins/tags/sql/)
 *  [進階檢視](https://tw.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)