void StartService() { svc = new WCFDebugService(); svc.AddScript += new WCFDebugService.ScriptAddedEventHandler(svc_AddScript); serviceHost = new ServiceHost(svc); serviceHost.Open(); toolStripStatusLabel.Text = "xPLHal Debugger is waiting for xPLHal to send some scripts. Please be sure you enabled the global variable..."; }