ThinkPHP5.1开启调试和错误提示

app/config,php中找到


show_error_msg=false  改为True;


再将


'app_debug' => false 改为True;