Title: Debug Switch
Author: Web Guy
Published: <strong>2022 年 3 月 22 日</strong>
Last modified: 2026 年 5 月 18 日

---

搜尋外掛

![](https://ps.w.org/debug-switch/assets/icon-256x256.png?rev=2697455)

# Debug Switch

 由 [Web Guy](https://profiles.wordpress.org/webguyio/) 開發

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

 * [詳細資料](https://tw.wordpress.org/plugins/debug-switch/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/debug-switch/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/debug-switch/#developers)

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

## 外掛說明

[💬 Ask Question](https://github.com/webguyio/support) | [📧 Email Me](https://tw.wordpress.org/plugins/debug-switch/webguywork@gmail.com?output_format=md)

The fastest and easiest way to switch debug mode on/off and view PHP info directly
from the admin.

 * Normally, to enable debug mode, you’d have to manually add the following to wp-
   config.php: `<?php define( 'WP_DEBUG', true ); ?>`
 * Normally, to view the server’s PHP version and other info, you’d have to manually
   upload a file with: `<?php phpinfo(); ?>`

With Debug Switch, this is handled automatically.

**How?**

Simply activate the plugin to enable and deactivate the plugin to disable them when
you’re done debugging.

**Why?**

_There are a dozen other debugging plugins that already do this (more or less), 
so why create another?_

Well, I already tried them all, and they just felt clunky and unnecessarily overcomplicated.
I got tired of having to manually switch debug mode on and off and these other plugins
didn’t offer a simple way to do that without also adding a bunch of other bells 
and whistles that I found to just be in the way, so I made something simpler.

## 使用者評論

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

### 󠀁[A review seems necessary](https://wordpress.org/support/topic/a-review-seems-necessary/)󠁿

 [cj74](https://profiles.wordpress.org/cj74/) 2022 年 11 月 6 日

I am surprised no one has reviewed this plugin, it seems to be a pretty useful one.
Thanks

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

## 參與者及開發者

以下人員參與了開源軟體〈Debug Switch〉的開發相關工作。

參與者

 *   [ Web Guy ](https://profiles.wordpress.org/webguyio/)

[將〈Debug Switch〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/debug-switch)

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

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

## 變更記錄

#### 0.2

 * Minor improvements

#### 0.1

 * New

## 中繼資料

 *  版本 **0.2**
 *  最後更新 **3 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  語言
 * [English (US)](https://wordpress.org/plugins/debug-switch/)
 * 標籤:
 * [debug](https://tw.wordpress.org/plugins/tags/debug/)[errors](https://tw.wordpress.org/plugins/tags/errors/)
   [info](https://tw.wordpress.org/plugins/tags/info/)[php](https://tw.wordpress.org/plugins/tags/php/)
   [testing](https://tw.wordpress.org/plugins/tags/testing/)
 *  [進階檢視](https://tw.wordpress.org/plugins/debug-switch/advanced/)

## 評分

 5 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Web Guy ](https://profiles.wordpress.org/webguyio/)

## 技術支援

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

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://webguy.io/donate)