Skip to content

Commit 9284b74

Browse files
committed
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
1 parent b0c9cff commit 9284b74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

octavia/common/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,7 @@ def _enable_pydev(debugger_host, debugger_port):
944944
import pydevd # pylint: disable=import-outside-toplevel
945945

946946
pydevd.settrace(debugger_host,
947+
suspend=False,
947948
port=int(debugger_port),
948949
stdoutToServer=True,
949950
stderrToServer=True)

0 commit comments

Comments
 (0)