首先说下开启调试模式完整操作。

1、\config\config.inc.php配置文件中增加两个键值对
    'APP_DEBUG'         =>  true,
    'SHOW_PAGE_TRACE'   =>  true,

2、把\src\bootstrap里面的报错给开启

ini_set('display_errors',true);
error_reporting(E_ALL);
set_time_limit(0);

3、把\src\bootstrap.php里debug改为true


define('DEBUG', true);

康神的博客中有相关说明,链接https://mengkang.net/301.html

posted on 2018-03-31 11:24  SoftBlue  阅读(184)  评论(0编辑  收藏  举报