title: Debug C# Windows Service without remote debugger
body: <p>I have written a windows service in C#, this runs in Debug and Release mode on my desktop, but when it is installed on the server it doesn't work correctly.</p>
  
  <p>It starts and stops just fine but the code doesn't execute. The permissions are seemingly set correctly on the file paths as SYSTEM, it is the Local System that is logged on as running the service.</p>
  
  <p>I have installed remote debugger for VS2013, however in order to use this, the server requires a reboot, which cannot be done for the foreseeable future as this would compromise other services that are running.</p>
  
  <p>Is there any way around this to find out what is causing the issue?</p>
  
  <p><strong><em>In answer to question comments:</em></strong></p>
  
  <p>There is logging and writing to debug, but none of the code appears to be executing which is why I'm stumped. As such none of the try/catch code is executing, the same security permissions are on this service's folders as other services that are working correctly. The <code>Debug.WriteLine</code>features aren't showing up within <a href="http://technet.microsoft.com/en-gb/sysinternals/bb896647.aspx" rel="nofollow">DebugView</a>.</p>