240 self.debuggerInterface = None |
240 self.debuggerInterface = None |
241 self.debugging = False |
241 self.debugging = False |
242 self.running = False |
242 self.running = False |
243 self.clientProcess = None |
243 self.clientProcess = None |
244 self.clientInterpreter = "" |
244 self.clientInterpreter = "" |
245 self.clientType = Preferences.Prefs.settings.value('DebugClient/Type') |
245 self.clientType = Preferences.getSettings().value('DebugClient/Type') |
246 if self.clientType is None: |
246 if self.clientType is None: |
247 self.clientType = 'Python3' |
247 self.clientType = 'Python3' |
248 |
248 |
249 self.lastClientType = '' |
249 self.lastClientType = '' |
250 self.__autoClearShell = False |
250 self.__autoClearShell = False |
477 @param clType type of client to be started |
477 @param clType type of client to be started |
478 @type str |
478 @type str |
479 """ |
479 """ |
480 if clType is not None and clType in self.getSupportedLanguages(): |
480 if clType is not None and clType in self.getSupportedLanguages(): |
481 self.clientType = clType |
481 self.clientType = clType |
482 Preferences.Prefs.settings.setValue( |
482 Preferences.getSettings().setValue( |
483 'DebugClient/Type', self.clientType) |
483 'DebugClient/Type', self.clientType) |
484 |
484 |
485 def startClient(self, unplanned=True, clType=None, forProject=False, |
485 def startClient(self, unplanned=True, clType=None, forProject=False, |
486 runInConsole=False, venvName="", workingDir=None, |
486 runInConsole=False, venvName="", workingDir=None, |
487 configOverride=None): |
487 configOverride=None): |