How to debug a Windows service?

1

I did a Windows E-mail Service every 5 minutes and would like to know how to debug it.

I saw several tutorials on the internet, but I could not perform debugging.

Would anyone know how to debug the service?

    
asked by anonymous 24.07.2018 / 19:53

1 answer

1

Recently I also did a Windows service in C # and used the topshelf . It allows you to develop the service as a console aplication and with this you can debug normally. When your service is ready, you install the .exe file generated by the project as a Windows service.

    
24.07.2018 / 20:01