From 9284b74069a969e3e3908a5f9a3ef8c1e55b5a76 Mon Sep 17 00:00:00 2001 From: Tom Weininger Date: Mon, 3 Apr 2023 12:04:34 +0200 Subject: [PATCH] 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 --- octavia/common/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/octavia/common/config.py b/octavia/common/config.py index 345da4cca4..05b983a9ac 100644 --- a/octavia/common/config.py +++ b/octavia/common/config.py @@ -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)