phatboyg / Topshelf

An easy service hosting framework for building Windows services using .NET
http://topshelf-project.com/
Apache License 2.0
170 stars 1 forks source link

Would like a way to run in console mode to support debugging #18

Closed BrianAdams closed 12 years ago

BrianAdams commented 12 years ago

It would be nice to pass a "-console" flag on startup that would just pass execution to the Start() method. This would allow running directly from Visual Studio without having to run the service separately and connect to the already running process. Feel free to point my to discussions on how to debug if this is already supported by a different means.

BrianAdams commented 12 years ago

Never mind. Just works. Had a left over parameter in the debug command line that caused topshelf to throw an error I was not observing so it appeared to simply not do anything. Nothing to see here...