We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b58f6a commit 08cba92Copy full SHA for 08cba92
packages/debugger/src/robotcode/debugger/run.py
@@ -115,7 +115,10 @@ def start_debugpy(
115
_logger.warning(lambda: f"start debugpy session on port {port}")
116
117
# this is set by vscode for non config debugpy sessions, we don't need it, so remove it
118
- del os.environ["DEBUGPY_ADAPTER_ENDPOINTS"]
+ if "DEBUGPY_ADAPTER_ENDPOINTS" in os.environ:
119
+ del os.environ["DEBUGPY_ADAPTER_ENDPOINTS"]
120
+ if "VSCODE_DEBUGPY_ADAPTER_ENDPOINTS" in os.environ:
121
+ del os.environ["VSCODE_DEBUGPY_ADAPTER_ENDPOINTS"]
122
123
if enable_debugpy(port, addresses):
124
global config_done_callback
0 commit comments