diff --git a/python/helpers/pydev/pydevd.py b/python/helpers/pydev/pydevd.py index dc290d3f7725..cc1107c8d260 100644 --- a/python/helpers/pydev/pydevd.py +++ b/python/helpers/pydev/pydevd.py @@ -2033,7 +2033,10 @@ def _locked_settrace( atexit.register(stoptrace) PyDBCommandThread(debugger).start() - CheckOutputThread(debugger).start() + if debugger.haveAliveThreads(): + CheckOutputThread(debugger).start() + else: + PydevdLog(2, "Do not start CheckOutputThread in process", os.getpid()) #Suspend as the last thing after all tracing is in place. if suspend: