title: .NET Core how to set environment variable to development
body: <p>I'm new to .NET Core MVC. I ran into an error but it doesn't show the problem due the environment variable.</p>
  
  <p>I can't see how to change it to developer to get my error message in the browser. Not to forget, I'm using the VS Code IDE. Can anyone help with this?</p>