Is it possible to debug the Windows services in Visual Studio?
I used code like
System.Diagnostics.Debugger.Break();
but it is givi
Just add a contructor to your service class (if you don't have it already). Below, you can check and example for visual basic .net.
Public Sub New() OnStart(Nothing) End Sub
After, that, right-click on project and select "Debug -> Start a new instance".