Title: ElasticPress Debugging Add-On
Author: 10up
Published: <strong>2016 年 1 月 20 日</strong>
Last modified: 2026 年 5 月 5 日

---

搜尋外掛

![](https://ps.w.org/debug-bar-elasticpress/assets/icon-256x256.jpg?rev=2517849)

# ElasticPress Debugging Add-On

 由 [10up](https://profiles.wordpress.org/10up/) 開發

[下載](https://downloads.wordpress.org/plugin/debug-bar-elasticpress.4.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/debug-bar-elasticpress/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/debug-bar-elasticpress/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/debug-bar-elasticpress/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/debug-bar-elasticpress/#developers)

 [技術支援](https://wordpress.org/support/plugin/debug-bar-elasticpress/)

## 外掛說明

Allows you to examine every ElasticPress query running on any given request by adding
an [ElasticPress](https://wordpress.org/plugins/elasticpress) panel to [Debug Bar](https://wordpress.org/plugins/debug-bar/)
and/or [Query Monitor](https://wordpress.org/plugins/query-monitor/) plugins.

Alternatively, go to ElasticPress > Query Log and set it to record ElasticPress 
queries.

#### Requirements:

 * [ElasticPress 4.4.0+](https://wordpress.org/plugins/elasticpress)
 * PHP 7.4+
 * Additional functionalities with [Debug Bar 1.0+](https://wordpress.org/plugins/debug-bar/)
   or [Query Monitor](https://wordpress.org/plugins/query-monitor/)

## 安裝方式

 1. Install [ElasticPress](https://wordpress.org/plugins/elasticpress).
 2. Optionally install [Debug Bar](https://wordpress.org/plugins/debug-bar/) or [Query Monitor](https://wordpress.org/plugins/query-monitor/).
 3. Install the plugin in WordPress.

## 常見問題集

### Where do I report security bugs found in this plugin?

Please report security bugs found in the source code of the ElasticPress Debugging
Add-On plugin through the [Patchstack Vulnerability Disclosure  Program](https://patchstack.com/database/vdp/cc7374da-57fd-4963-905b-92ba5d12a628).
The Patchstack team will assist you with verification, CVE assignment, and notify
the developers of this plugin.

## 使用者評論

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

### 󠀁[It Does What It Says](https://wordpress.org/support/topic/it-does-what-it-says-61/)󠁿

 [Daniel Hendricks](https://profiles.wordpress.org/hendridm/) 2019 年 2 月 27 日

This plugin works perfectly and is very useful for debugging ElasticPress queries.

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

### 󠀁[Indispensable if you're working on a site with ElasticPress integration](https://wordpress.org/support/topic/indispensable-if-youre-working-on-a-site-with-elasticpress-integration/)󠁿

 [J B](https://profiles.wordpress.org/johnpbloch/) 2016 年 9 月 3 日

The title says it all.

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/debug-bar-elasticpress/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈ElasticPress Debugging Add-On〉的開發相關工作。

參與者

 *   [ 10up ](https://profiles.wordpress.org/10up/)
 *   [ Taylor Lovett ](https://profiles.wordpress.org/tlovett1/)

〈ElasticPress Debugging Add-On〉外掛目前已有 1 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/debug-bar-elasticpress/contributors)
為這個外掛做出的貢獻。

[將〈ElasticPress Debugging Add-On〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/debug-bar-elasticpress)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/debug-bar-elasticpress/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/debug-bar-elasticpress/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/debug-bar-elasticpress/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/debug-bar-elasticpress/)。

## 變更記錄

#### 4.0.0 – 2026-05-05

This version bumps the minimum PHP version to 7.4+.

**Added:**

 * Compatibility with Query Monitor 4 (including styles when Query Monitor loads
   the frontend in the Shadow DOM). Props [@burhandodhy](https://github.com/burhandodhy).
 * FAQ on reporting security bugs through the Patchstack Vulnerability Disclosure
   Program. Props [@jeffpaul](https://github.com/jeffpaul).

**Changed:**

 * Bump `Requires PHP` to 7.4. Props [@burhandodhy](https://github.com/burhandodhy)
   and [@felipeelia](https://github.com/felipeelia).
 * Remove the `Requires Plugins` plugin header so the plugin can be activated when
   ElasticPress is installed as an mu-plugin. Props [@barryceelen](https://github.com/barryceelen).
 * Updated npm dependencies. Props [@felipeelia](https://github.com/felipeelia).

**Fixed:**

 * Icon styling on the Query Log admin page. Props [@burhandodhy](https://github.com/burhandodhy).
 * Query Log “Keep Enabled” setting not working. Props [@burhandodhy](https://github.com/burhandodhy).
 * Extra backslashes in copied cURL commands. Props [@burhandodhy](https://github.com/burhandodhy).
 * Styling issues with Query Monitor Dark Mode. Props [@burhandodhy](https://github.com/burhandodhy)
   and [@felipeelia](https://github.com/felipeelia).

**Security:**

 * Bumped `tar-fs` from 2.1.1 to 3.1.0. Props [@dependabot](https://github.com/dependabot).
 * Bumped `http-proxy-middleware` from 2.0.7 to 2.0.9. Props [@dependabot](https://github.com/dependabot).

#### 3.1.1 – 2024-12-11

**Added:**

 * Display the number of queries in Query Monitor’s tab title. Props [@felipeelia](https://github.com/felipeelia)
   and [@burhandodhy](https://github.com/burhandodhy).
 * ElasticPress as a plugin dependency. Props [@jeffpaul](https://github.com/jeffpaul).

**Changed:**

 * More modern versions of GitHub Actions, node, and node packages. Props [@felipeelia](https://github.com/felipeelia).

**Fixed:**

 * Notices related to i18n calls. Props [@felipeelia](https://github.com/felipeelia)
   and [@archon810](https://github.com/archon810).
 * Use new plugin name in the admin notice. Props [@burhandodhy](https://github.com/burhandodhy).

#### 3.1.0 – 2023-09-20

**Added:**

 * New button to explain ES queries. Props [@burhandodhy](https://github.com/burhandodhy),
   [@felipeelia](https://github.com/felipeelia), [@MARQAS](https://github.com/MARQAS),
   and [@brandwaffle](https://github.com/brandwaffle).
 * New button to Reload and retrieve raw ES document. Props [@burhandodhy](https://github.com/burhandodhy),
   [@felipeelia](https://github.com/felipeelia), and [@brandwaffle](https://github.com/brandwaffle).
 * Query types (and context when listing queries in the Query Log admin screen.)
   Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
 * Log query by context, status, and fixed time. Props [@felipeelia](https://github.com/felipeelia).
 * Official support to Query Monitor. Props [@felipeelia](https://github.com/felipeelia).

**Security:**

 * Bumped `tough-cookie` from 4.1.2 to 4.1.3. Props [@dependabot](https://github.com/dependabot).
 * Bumped `word-wrap` from 1.2.3 to 1.2.4. Props [@dependabot](https://github.com/dependabot).

#### 3.0.0 – 2023-03-23

This release drops the support for older versions of ElasticPress and PHP.

**Added:**

 * Instructions with error code for failed queries. Props [@MARQAS](https://github.com/MARQAS)
   and [@felipeelia](https://github.com/felipeelia).
 * Buttons to copy or download all requests info. Props [@MARQAS](https://github.com/MARQAS),
   [@felipeelia](https://github.com/felipeelia), and [@burhandodhy](https://github.com/burhandodhy).
 * Compatibility with the WordPress localization system. Props [@burhandodhy](https://github.com/burhandodhy)
   and [@felipeelia](https://github.com/felipeelia).
 * SECURITY.md file. Props [@felipeelia](https://github.com/felipeelia).

**Changed:**

 * Set minimum requirement for PHP to 7.0 and ElasticPress to 4.4.0. Props [@burhandodhy](https://github.com/burhandodhy)
   and [@felipeelia](https://github.com/felipeelia).
 * CSS and JS code lint by 10up toolkit. Props [@burhandodhy](https://github.com/burhandodhy).

**Fixed:**

 * Unnecessary `stripslashes()` call when outputting JSON objects. Props [@felipeelia](https://github.com/felipeelia),
   [@goldenapples](https://github.com/goldenapples), and [@mattonomics](https://github.com/mattonomics).
 * JS error on copy action. Props [@burhandodhy](https://github.com/burhandodhy).

**Security:**

 * Bumped `minimatch` from 3.0.4 to 3.1.2. Props [@dependabot](https://github.com/dependabot).
 * Bumped `json5` from 2.2.0 to 2.2.3. Props [@dependabot](https://github.com/dependabot).
 * Bumped `webpack` from 5.75.0 to 5.76.2. Props [@dependabot](https://github.com/dependabot).

#### 2.1.1 – 2022-08-04

**Security:**

 * Fix XSS vulnerability. Props [@piotr-bajer](https://github.com/piotr-bajer) and
   [@felipeelia](https://github.com/felipeelia).
 * Bumped `path-parse` from 1.0.6 to 1.0.7. Props [@dependabot](https://github.com/dependabot).
 * Bumps `minimist` from 1.2.5 to 1.2.6. Props [@dependabot](https://github.com/dependabot).
 * Bumps `ansi-regex` from 5.0.0 to 5.0.1. Props [@dependabot](https://github.com/dependabot).

#### 2.1.0

**Added:**

 * ElasticPress and Elasticsearch versions. Props to [@oscarssanchez](https://github.com/oscarssanchez)
   and [@felipeelia](https://github.com/felipeelia).
 * Log of bulk_index requests. Props [@felipeelia](https://github.com/felipeelia).
 * Warning when ElasticPress is indexing. Props [@nathanielks](https://github.com/nathanielks)
   and [@felipeelia](https://github.com/felipeelia).

**Changed:**

 * Only load CSS and JS files for logged-in users. Props [@cbratschi](https://github.com/cbratschi)
   and [@felipeelia](https://github.com/felipeelia).

#### 2.0.0

This release drops the support for older versions of WordPress Core, ElasticPress
and Debug Bar.

 * Code refactoring. Props [@felipeelia](https://github.com/felipeelia)
 * Fixed Query Logs in EP Dashboard [@felipeelia](https://github.com/felipeelia)
 * Fixed typo from “clsas” to “class” in the query output. Props [@Rahmon](https://github.com/Rahmon)

#### 1.4

 * Support ElasticPress 3.0+

#### 1.3

 * Add query log

#### 1.2

 * Show query errors (i.e. cURL timeout)
 * Add ?explain to query if GET param is set

#### 1.1.1

 * Only show query body if it exits

#### 1.1

 * Improve formatting
 * Show original query args (EP 2.1+)

#### 1.0

 * Initial release

## 中繼資料

 *  版本 **4.0.0**
 *  最後更新 **3 週前**
 *  啟用安裝數 **900+**
 *  WordPress 版本需求 ** 5.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/debug-bar-elasticpress/) 及 [Polish](https://pl.wordpress.org/plugins/debug-bar-elasticpress/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/debug-bar-elasticpress)
 * 標籤:
 * [debug](https://tw.wordpress.org/plugins/tags/debug/)[debug bar](https://tw.wordpress.org/plugins/tags/debug-bar/)
   [elasticpress](https://tw.wordpress.org/plugins/tags/elasticpress/)[elasticsearch](https://tw.wordpress.org/plugins/tags/elasticsearch/)
 *  [進階檢視](https://tw.wordpress.org/plugins/debug-bar-elasticpress/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/debug-bar-elasticpress/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/debug-bar-elasticpress/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/debug-bar-elasticpress/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/debug-bar-elasticpress/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/debug-bar-elasticpress/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/debug-bar-elasticpress/reviews/)

## 參與者

 *   [ 10up ](https://profiles.wordpress.org/10up/)
 *   [ Taylor Lovett ](https://profiles.wordpress.org/tlovett1/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/debug-bar-elasticpress/)