From 0d8131b710e1571ab9474f5fe7b4f702054fdded Mon Sep 17 00:00:00 2001 From: nightcityblade Date: Thu, 27 Aug 2026 23:39:40 +0800 Subject: [PATCH] fix: preserve PowerShell argument arrays --- bundled/scripts/noConfigScripts/debugpy.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundled/scripts/noConfigScripts/debugpy.ps1 b/bundled/scripts/noConfigScripts/debugpy.ps1 index 4b2ff85a..08381f48 100755 --- a/bundled/scripts/noConfigScripts/debugpy.ps1 +++ b/bundled/scripts/noConfigScripts/debugpy.ps1 @@ -2,7 +2,7 @@ $env:DEBUGPY_ADAPTER_ENDPOINTS = $env:VSCODE_DEBUGPY_ADAPTER_ENDPOINTS $os = [System.Environment]::OSVersion.Platform if ($os -eq [System.PlatformID]::Win32NT) { - python $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args + python $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client @args } else { - python3 $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args -} \ No newline at end of file + python3 $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client @args +}