From 575eecdad86da4c4748282b795b612016d852821 Mon Sep 17 00:00:00 2001 From: TEJA P C <39472754+PCTEJA@users.noreply.github.com> Date: Fri, 13 Nov 2026 23:02:20 -0500 Subject: [PATCH 1/2] Quote $@ in bash no-config wrapper so arguments with spaces survive The bundled bash wrapper forwarded unquoted $@, so an argument containing a space was split into multiple arguments before reaching the debug target (e.g. "hello world" arrived as 'hello' and 'world'). Use "$@" so each argument is forwarded exactly as given, including arguments containing spaces and the zero-argument case. Fixes #820 --- bundled/scripts/noConfigScripts/debugpy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 bundled/scripts/noConfigScripts/debugpy diff --git a/bundled/scripts/noConfigScripts/debugpy b/bundled/scripts/noConfigScripts/debugpy old mode 100755 new mode 100644 index 25b32d73..dd75fca3 --- a/bundled/scripts/noConfigScripts/debugpy +++ b/bundled/scripts/noConfigScripts/debugpy @@ -1,4 +1,4 @@ #! /usr/bin/env bash # Bash script export DEBUGPY_ADAPTER_ENDPOINTS=$VSCODE_DEBUGPY_ADAPTER_ENDPOINTS -python3 $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $@ +python3 $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client "$@" From 570e5b62965f6e41c388b12d2685e12e150412f7 Mon Sep 17 00:00:00 2001 From: PCTEJA Date: Mon, 16 Nov 2026 09:32:38 +0000 Subject: [PATCH 2/2] Restore executable bit on bash no-config wrapper --- bundled/scripts/noConfigScripts/debugpy | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 bundled/scripts/noConfigScripts/debugpy diff --git a/bundled/scripts/noConfigScripts/debugpy b/bundled/scripts/noConfigScripts/debugpy old mode 100644 new mode 100755