protected override void OnStart(string[] args) { #if DEBUG // When debugging a service, you have to attach to a running process. This gives me // time to attach for debugging to slowdown startup so I can set a breakpoint. System.Threading.Thread.Sleep(15000); #endif }
"Debugger.Launch();"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)