In addition to Solution 1:
Debugging of the service can be a relatively difficult problem. I can share my approach I invented, in particular, to ease-up debugging of major part of the service. Please see my past answer:
Configure Windows Service with UI[
^].
It used to help me a lot. In particular, using my technique, I managed to perform remote debugging of my service controlling industrial hardware in collaboration with 3rd-party suppliers who provides their close-source code and never visited our laboratory.
—SA