static void Main(string[] args) { using (DebugClient app = new DebugClient()) { app.AddModule<DebugModule>(null, new object[] { app }); app.Start(); } }