title: Laravel 5.4 - cannot set debug environment
body: <p>I am taking the "Laravel 5.4 From Scratch' course on Laracasts. I created two projects and everything was working well, but I realized that the server stopped showing me debug errors. It now throws the generic 'Sorry, page could not be found' error in BOTH applications (completely separate from each other), I run them with <code>php artisan serve</code>.</p>
  
  <p>Laravel is ignoring the <code>APP_DEBUG=true</code> and <code>APP_ENV=local</code> in <code>.env</code> file.</p>
  
  <p>In <code>config/app.php</code>:</p>
  
  <blockquote>
    <p>'env' => env('APP_ENV', 'local'); </p>
    
    <p>'debug' => env('APP_DEBUG', true);</p>
  </blockquote>
  
  <p>The application doesn't show debug, just some regular simple 'this page can not be found' errors.</p>
  
  <p>I've tried:</p>
  
  <ul>
  <li>rebooting the server</li>
  <li><code>php artisan config:clear</code></li>
  <li><code>php artisan optimize</code></li>
  <li><code>php artisan cache:clear</code></li>
  </ul>
  
  <p>nothing works, the environment is still production-like, doesn't display any errors.</p>
  
  <p>How to turn on debugging?</p>
  
  <p>UPDATE: <code>php artisan env</code> returns <code>local</code> but on the browser-side nothing changes, still generic user-friendly error pages. I tried on different browsers and clearing browser cache, nothing works.</p>