title: Debug Setting in .Net 5
body: <p>With the debug setting gone in the web.config, what setting turns on and off debug and what is the equivalent (if any) for the following in .Net 5 (MVC 6 project)?</p>
  
  <pre><code>#define DEBUG
  // ...
  #if DEBUG
      Console.WriteLine("Debug version");
  #endif
  </code></pre>