Title: Gorilla Debug
Author: gorillasolutions
Published: <strong>2021 年 6 月 3 日</strong>
Last modified: 2021 年 6 月 9 日

---

搜索插件

![](https://ps.w.org/gorilla-debug/assets/banner-772x250.png?rev=2542818)

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

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

# Gorilla Debug

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

[下载](https://downloads.wordpress.org/plugin/gorilla-debug.1.0.0.zip)

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

 [支持](https://wordpress.org/support/plugin/gorilla-debug/)

## 描述

Using this simple plugin, you can update `wp-config.php` by setting the PHP named
constants used for WordPress debugging via a simple UI. Those named constants are`
WP_DEBUG`, `WP_DEBUG_LOG`, `WP_DEBUG_DISPLAY`, `SCRIPT_DEBUG`, and `SAVEQUERIES`.

This plugin also allows you to view and edit the `debug.log` file from within the
WP Admin panel, without the need to access this file directly through the file system.

Moreover, this plugin introduces a debugging function, `gorilla_debug()`, that allows
you to output debugging messages to either the display or the `debug.log` file.

_This plugin is intended for development purposes only_

For full documentation, visit https://debug.gorilla.solutions and https://debug.
gorilla.wtf

## 屏幕截图

 * [[
 * The settings page for the Gorilla Debug plugin
 * [[
 * An example of using the `gorilla_debug()` function
 * [[
 * The output of the `gorilla_debug()` function call into `debug.log`

## 安装

You can install `Gorilla Debug` in any one of the following ways

**From your WordPress dashboard**

 1. Visit `Plugins -> Add New`
 2. Search for `Gorilla Debug`
 3. Activate `Gorilla Debug` from your Plugins page.

**From WordPress.org**

 1. Download `Gorilla Debug`
 2. Upload the `gorilla-debug` directory to your `/wp-content/plugins/` directory
 3. Activate `Gorilla Debug` from your Plugins page.

**If the plugin cannot be activated**

If you were unable to activate the plugin, it is most probably due to file protection
and permissions set to protect `wp-config.php`. If this happens, then you will be
instructed to activate manually.

Remember, this plugin is for development purposes only, and if you decide to change
file permissions to change the access privileges for `wp-config.php`, then it is
better to do so in a secure development environment. If you need to use this plugin
in a live environment, and you change your file permissions to allow this plugin
to work, then you have to ensure that `wp-config.php` is protected again after you
finish using this plugin.

**Once Activated**

 1. Access `Gorilla Debug` from the WP Admin panel, and then click on `Settings` (i.
    e., ‘Gorilla Debug -> Settings`).
 2. Change the debug settings to your preferences. The bottom section shows the settings
    changes that will be made to `wp-config.php`.
 3. Click `Save Changes` to save the settings.

Visit https://debug.gorilla.solutions for documentation on how to use this plugin.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

「Gorilla Debug」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/gorilla-debug/contributors)
为本插件所做的贡献。

[帮助将「Gorilla Debug」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gorilla-debug)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Added functionality to edit debug.log from within the WP Admin panel

#### 0.1.0

 * Initial release

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**5 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.7 或更高版本 **
 *  已测试的最高版本为 **5.7.15**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/gorilla-debug/) 和 [Swedish](https://sv.wordpress.org/plugins/gorilla-debug/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/gorilla-debug)
 * 标签
 * [debug](https://cn.wordpress.org/plugins/tags/debug/)[debugging](https://cn.wordpress.org/plugins/tags/debugging/)
   [development](https://cn.wordpress.org/plugins/tags/development/)
 *  [高级视图](https://cn.wordpress.org/plugins/gorilla-debug/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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