小编phi*_*ank的帖子

cakePHP - DebugKit工具栏不可见

通过Composer成功安装cakePHP后,没有DebugKit工具栏可见.

这是非常奇怪的原因,而安装过程如下所示:

- Installing cakephp/debug_kit (3.1.0)
  Loading from cache
Run Code Online (Sandbox Code Playgroud)

配置/ bootstrap.php中:

// Only try to load DebugKit in development mode
// Debug Kit should not be installed on a production system
if (Configure::read('debug')) {
    Plugin::load('DebugKit', ['bootstrap' => true]);
}
Run Code Online (Sandbox Code Playgroud)

配置/ app.php:

/**
 * Debug Level:
 *
 * Production Mode:
 * false: No error messages, errors, or warnings shown.
 *
 * Development Mode:
 * true: Errors and warnings shown.
 */
'debug' => true,
Run Code Online (Sandbox Code Playgroud)

通常(手动安装),插件存储在plugins-folder中,但它是空的.

还有什么我需要配置的吗?

亲切的问候,

菲尔

debugging cakephp

4
推荐指数
1
解决办法
4568
查看次数

标签 统计

cakephp ×1

debugging ×1