在laravel 4中看不到调试栏

时间:2014-08-14 12:58:17

标签: debugging laravel

debug设置为true,为什么我看不到laravel调试栏?当我安装网站时,确实存在。

'debug' => true,

1 个答案:

答案 0 :(得分:0)

您所谈论的laravel调试栏来自Laravel 3.

Laravel 4的调试设置仅用于显示PHP错误。如果设置为false,则会显示用户友好消息。

从配置文件:

   /*
    |--------------------------------------------------------------------------
    | Application Debug Mode
    |--------------------------------------------------------------------------
    |
    | When your application is in debug mode, detailed error messages with
    | stack traces will be shown on every error that occurs within your
    | application. If disabled, a simple generic error page is shown.
    |
    */