Change Pydevd settrace configuration

By adding *suspend=False* the debugger will not suspend execution at
this call already. This is consistent with the behavior of
debuggers in IDEs like Visual Studio Code and PyCharm (which is the IDE
that uses pydevd).

Change-Id: I7f43b30de9accfbf78a9d272fecd571de3b1f90d
This commit is contained in:
Tom Weininger 2023-04-03 12:04:34 +02:00
parent b0c9cff6b0
commit 9284b74069
1 changed files with 1 additions and 0 deletions

View File

@ -944,6 +944,7 @@ def _enable_pydev(debugger_host, debugger_port):
import pydevd # pylint: disable=import-outside-toplevel
pydevd.settrace(debugger_host,
suspend=False,
port=int(debugger_port),
stdoutToServer=True,
stderrToServer=True)