title: How to log 500 status errors in console in express routes?
body: <p>The typical errors I expect to see logged are not being logged in my express routes.
  for example:</p>
  <pre><code>router.get('/', function(req,res,next){
    console.log(undefinedVariable)
  })
  </code></pre>
  <p>I expect to get an error:</p>
  <blockquote>
  <p>ReferenceError: undefinedVarialbe is not defined;</p>
  </blockquote>
  <p>however In the <code>router.get</code> I don't get any errors other than:</p>
  <blockquote>
  <p>GET / 500 3.641 ms - 478</p>
  </blockquote>
  <p>in my console which is making debugging hard. Is there any way to get these errors to show in the console?</p>