eric6/Debugger/DebuggerInterfacePython.py

changeset 8222
5994b80b8760
parent 8218
7c09585bd960
child 8230
8b5c6896655b
equal deleted inserted replaced
8221:0572a215bd2f 8222:5994b80b8760
365 365
366 # start debugger with project specific settings 366 # start debugger with project specific settings
367 debugClient = project.getDebugProperty("DEBUGCLIENT") 367 debugClient = project.getDebugProperty("DEBUGCLIENT")
368 if not venvName: 368 if not venvName:
369 venvName = project.getDebugProperty("VIRTUALENV") 369 venvName = project.getDebugProperty("VIRTUALENV")
370 if not venvName: 370 if not venvName and project.getProjectLanguage() == "Python3":
371 if project.getProjectLanguage() == "Python3": 371 venvName = Preferences.getDebugger("Python3VirtualEnv")
372 venvName = Preferences.getDebugger("Python3VirtualEnv")
373 372
374 if configOverride and configOverride["enable"]: 373 if configOverride and configOverride["enable"]:
375 redirect = str(configOverride["redirect"]) 374 redirect = str(configOverride["redirect"])
376 else: 375 else:
377 redirect = str(project.getDebugProperty("REDIRECT")) 376 redirect = str(project.getDebugProperty("REDIRECT"))

eric ide

mercurial