From 34227acd1386ef618a07fd9d467bf4122f5c8655 Mon Sep 17 00:00:00 2001 From: Zentrik Date: Tue, 6 Jan 2026 23:13:17 +0000 Subject: [PATCH 1/2] no config debug: Add `debugpy.sh` It seemed non trivial to do something other than just copying the existing `debugpy` script, so that's what I opted for. Close https://github.com/microsoft/vscode-python-debugger/issues/651. --- bundled/scripts/noConfigScripts/debugpy.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bundled/scripts/noConfigScripts/debugpy.sh diff --git a/bundled/scripts/noConfigScripts/debugpy.sh b/bundled/scripts/noConfigScripts/debugpy.sh new file mode 100755 index 00000000..def62ec5 --- /dev/null +++ b/bundled/scripts/noConfigScripts/debugpy.sh @@ -0,0 +1,4 @@ +#! /bin/bash +# Bash script +export DEBUGPY_ADAPTER_ENDPOINTS=$VSCODE_DEBUGPY_ADAPTER_ENDPOINTS +python3 $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $@ From 1da32c996fbee3f831b9c9abb2bf2f040d4a65c6 Mon Sep 17 00:00:00 2001 From: Zentrik Date: Wed, 7 Jan 2026 06:40:45 +0000 Subject: [PATCH 2/2] Update comment in debugpy.sh for clarity Clarified the purpose of the debugpy script in the comment. --- bundled/scripts/noConfigScripts/debugpy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundled/scripts/noConfigScripts/debugpy.sh b/bundled/scripts/noConfigScripts/debugpy.sh index def62ec5..a6ebbff2 100755 --- a/bundled/scripts/noConfigScripts/debugpy.sh +++ b/bundled/scripts/noConfigScripts/debugpy.sh @@ -1,4 +1,4 @@ #! /bin/bash -# Bash script +# Bash script - a copy of `debugpy` for cases where the user has a conflicting `debugpy` in their `PATH`. export DEBUGPY_ADAPTER_ENDPOINTS=$VSCODE_DEBUGPY_ADAPTER_ENDPOINTS python3 $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $@