From Xojo Documentation
If True, the server will shutdown automatically when all sessions have ended, which is the default when running from the debugger. If False, the server will not shutdown. This is the default for deployed web apps.
In the App.Opening event handler, you can change this behavior: