Debugging a windows service
Just add the following snippet to your code (C#):
#if DEBUG
System.Diagnostics.Debugger.Launch();
#endif
It will break the service and let's you select the debugger you want to attach it to.