Console/Service App Debugging

I have an application I run as a service.
But in order to debug it I have to change it to a ConsoleApplication.
Then I have to remember to change it back to a ServiceApplication before I publish every time.

Isn’t there a way Xojo could do this automatically so when I’m debug testing a ServiceApplication it compiles as a ConsoleApplication?
Or is there something I’m doing wrong?..