Added DebugMode to AppHost