title: Why does #if debug not work on the server
body: <p>I have </p>
  
  <pre><code> #if debug then
   #end if
  </code></pre>
  
  <p>statements inside a webservice which outputs event viewer logs.  This works ok when testing locally. If I build a debug version and then copy the files across to the live server and re-cycle the app pool of the webservice, I don't see these logs in the event viewer.  Is there any reason why this isn't working?</p>