[wordpress插件] Debug Bar调试栏

wordpress 插件 文章 2020-04-14 00:30 485 0 全屏看文

AI助手支持GPT4.0

评分
84
描述

Adds a debug menu to the admin bar that shows query, cache, and other helpful debugging information.

在管理栏中添加调试菜单,该菜单显示查询,缓存和其他有用的调试信息。

A must for developers!

开发人员必须的!

When WP_DEBUG is enabled it also tracks PHP Warnings and Notices to make them easier to find.

启用 WP_DEBUG 后,它还会跟踪PHP警告和声明,以使其更易于查找。

When SAVEQUERIES is enabled the mysql queries are tracked and displayed.

启用 SAVEQUERIES 后,将跟踪并显示mysql查询。

To enable these options, add the following code to your wp-config.php file:

要启用这些选项,请将以下代码添加到您的 wp-config.php 文件中:

define( 'WP_DEBUG', true );

  define('WP_DEBUG',true);

define( 'SAVEQUERIES', true );

define('SAVEQUERIES',true);

Add a PHP/MySQL console with the Debug Bar Console plugin.

使用调试栏控制台插件添加PHP / MySQL控制台。

There are numerous other add-ons available to get more insight into, for instance, the registered Post Types, Shortcodes, WP Cron, Language file loading, Actions and Filters and so on.

还有许多其他附加组件可用于深入了解,例如,注册的帖子类型,简码,WP Cron,语言文件加载,操作和过滤器等。

Just search the plugin directory for ‘Debug Bar’.

只需在插件目录中搜索“调试栏”

安装步骤

Use automatic installer.

使用自动安装程序。

下载地址
https://downloads.wordpress.org/plugin/debug-bar.1.0.zip
-EOF-

AI助手支持GPT4.0