Title: Simple Debug
Author: ChrisHurst
Published: <strong>2012 年 11 月 2 日</strong>
Last modified: 2013 年 1 月 11 日

---

搜索插件

![](https://ps.w.org/simple-debug/assets/banner-772x250.jpg?rev=620542)

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

![](https://s.w.org/plugins/geopattern-icon/simple-debug_cacaca.svg)

# Simple Debug

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

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

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

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

## 描述

Simple Debug Plugin for WordPress analyzes the performance of your WordPress website
and shows you the slowest performing functions.
 Also has the ability to display
other useful information such as error log, PHP.ini variables, and DB performance
varbailes. MySQL Database Optimization tool is also included. You can also enable
and view the debug.log with no editing of wp-config.php file necessary!

Developer Website: http://MyWebsiteAdvisor.com/

Plugin Page: http://MyWebsiteAdvisor.com/tools/wordpress-plugins/simple-debug/

Video Tutorial: http://mywebsiteadvisor.com/learning/video-tutorials/simple-debug-
tutorial/

We are looking for testimonials and live examples of our plugins on your website!

Please submit your website or testimonial here: http://MyWebsiteAdvisor.com/testimonials/
If we choose your testimonial or website we can link to your site and generate some
free traffic for you!

Requirements:

 * PHP 5.3

To-do:

## 屏幕截图

[⌊This website is badly in need of optimization, one function call takes almost 
10 seconds!⌉⌊This website is badly in need of optimization, one function call takes
almost 10 seconds!⌉[

This website is badly in need of optimization, one function call takes almost 10
seconds!

[⌊After using the plugin to locate the slow function, our developers have resolved
the issue, now the site loads in under one second!⌉⌊After using the plugin to locate
the slow function, our developers have resolved the issue, now the site loads in
under one second!⌉[

After using the plugin to locate the slow function, our developers have resolved
the issue, now the site loads in under one second!

[⌊Plugin settings screen⌉⌊Plugin settings screen⌉[

Plugin settings screen

[⌊Example output for the display error log function⌉⌊Example output for the display
error log function⌉[

Example output for the display error log function

[⌊Example output for the display PHP.ini variables function⌉⌊Example output for 
the display PHP.ini variables function⌉[

Example output for the display PHP.ini variables function

[⌊Example output for the optimize DB function⌉⌊Example output for the optimize DB
function⌉[

Example output for the optimize DB function

[⌊Example output for the display MySQL DB performance variables function.⌉⌊Example
output for the display MySQL DB performance variables function.⌉[

Example output for the display MySQL DB performance variables function.

## 安装

 1. Upload `simple-debug/` to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to Simple Debug Plugin settings and enable Simple Debug Plugin.

## 常见问题

  Plugin doesn’t work …

Please specify as much information as you can to help us debug the problem.
 Check
in your error.log if you can. Please send screenshots as well as a detailed description
of the problem.

Developer Website: http://MyWebsiteAdvisor.com/

Plugin Page: http://MyWebsiteAdvisor.com/tools/wordpress-plugins/simple-debug/

Video Tutorial: http://mywebsiteadvisor.com/learning/video-tutorials/simple-debug-
tutorial/

We are looking for testimonials and live examples of our plugins on your website!

Please submit your website or testimonial here: http://MyWebsiteAdvisor.com/testimonials/
If we choose your testimonial or website we can link to your site and generate some
free traffic for you!

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ ChrisHurst ](https://profiles.wordpress.org/chrishurst/)
 *   [ MyWebsiteAdvisor ](https://profiles.wordpress.org/mywebsiteadvisor/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.5

 * updated plugin to use WordPress settings API
 * consolidated the plugin settings so they are all stored in one main setting, 
   rather than individual settings in wp-options table
 * updated plugin settings page with tabs, rather than scrolling down the page
 * reorgainzed entire plugin file layout

#### 1.4.5

 * added label elements around checkboxes to make the label text clickable.

#### 1.4.4

 * added function exists check for the sys_getloadavg function so it does not cause
   fatal errors on MS Windows Servers
 * added check to see if debug log is enabled before displaying link to debug log
   screen.

#### 1.4.3

 * fixed plugin settings screen

#### 1.4.2

 * fixed debug log screen

#### 1.4.1

 * fixed plugin loader

#### 1.4

 * added a session_start in the plugin loader, the plugin uses session to track 
   and log function execution time.
 * added debug.log system without needing to edit wp-config.php!
 * updated readme file
 * updated plugin settings page to display better on smaller screens

#### 1.3

 * added check for PHP 5.3 or greater due to the use of anonymous php functions.
 * updated readme file

#### 1.2.3

 * fixed improper opening php tag

#### 1.2.2

 * Added link to rate and review this plugin on WordPress.org.

#### 1.2.1

 * updated plugin activation php version check which was causing out of place errors.

#### 1.2

 * Added phpinfo display function
 * Added contextual help menu with Plufin FAQ’s and Support Link

#### 1.1

 * added error log display function
 * added display PHP.ini variables function
 * added DB optimization function
 * added DB performance analysis tools

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.5**
 *  最后更新：**13 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.9 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-debug/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[debug](https://cn.wordpress.org/plugins/tags/debug/)
   [performance](https://cn.wordpress.org/plugins/tags/performance/)[Plugin](https://cn.wordpress.org/plugins/tags/plugin/)
   [profiling](https://cn.wordpress.org/plugins/tags/profiling/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-debug/advanced/)

## 评级

 3 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ ChrisHurst ](https://profiles.wordpress.org/chrishurst/)
 *   [ MyWebsiteAdvisor ](https://profiles.wordpress.org/mywebsiteadvisor/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://MyWebsiteAdvisor.com/donations)