title: Is it a bad idea to put development shortcuts in #if DEBUG blocks?
body: <p>In a few places in our code we use #if DEBUG blocks to simplify development.  Things like:</p>
  
  <pre><code>#if DEBUG
     serverIP = localhost;
  #else
     serverIP = GetSetting()
  #endif
  </code></pre>
  
  <p>or</p>
  
  <pre><code>private bool isLicensed()
  
  #if DEBUG
     return true;
  #endif
  
  return CheckSetting()
  </code></pre>
  
  <p>There are also a few places where we make cosmetic changes like this:</p>
  
  <pre><code>#if DEBUG
     background = humorousImage.jpg
  #else
     background = standardColor
  #endif
  </code></pre>
  
  <p>Is it dangerous to depend on #if debug to make development easier?  If it is, what is a valid use of #if debug?</p>