app/config,php中找到 show_error_msg=false 改为True; 再将 'app_debug' => false 改为True; 转载于:https://www.cnblogs.com/njflash/p/10306886.html