title: Turning off debug mode in production
body: <p>Working as a summer intern for a smaller company and the other devs are on vacation so I'm in charge of publishing our changes. I just published to our stage server but I can see that no redirects are happening. I found in our redirects file that we have a condition like this:</p>
  
  <pre><code>#if DEBUG
       System.Diagnostics.Debug.WriteLine("Debug mode");
  #else
       // here goes all our redirect code
  #endif
  </code></pre>
  
  <p>So, I'm guessing our redirect problem is caused by my solution that is published in some way is staying in debug mode. Hopefully this is a quick fix -- is there something I could do? If not, I'll just remove the if condition and go with the redirect code, but I don't like the idea of removing the code that was intended to be here by our other developers. </p>