diff --git a/bundled/scripts/noConfigScripts/debugpy b/bundled/scripts/noConfigScripts/debugpy index 7b440d2c..1893a2cd 100755 --- a/bundled/scripts/noConfigScripts/debugpy +++ b/bundled/scripts/noConfigScripts/debugpy @@ -1,3 +1,3 @@ #! /bin/bash # Bash script -python $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $@ +python3 $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $@ diff --git a/bundled/scripts/noConfigScripts/debugpy.fish b/bundled/scripts/noConfigScripts/debugpy.fish index 7319d863..5206b078 100755 --- a/bundled/scripts/noConfigScripts/debugpy.fish +++ b/bundled/scripts/noConfigScripts/debugpy.fish @@ -1,2 +1,2 @@ # Fish script -python $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $argv +python3 $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $argv diff --git a/bundled/scripts/noConfigScripts/debugpy.ps1 b/bundled/scripts/noConfigScripts/debugpy.ps1 index ebffa418..945c5091 100755 --- a/bundled/scripts/noConfigScripts/debugpy.ps1 +++ b/bundled/scripts/noConfigScripts/debugpy.ps1 @@ -1,2 +1,6 @@ # PowerShell script -python $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args +if ($PSVersionTable.OS -match "Windows") { + python $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args +} else { + python3 $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args +}