Skip to content

Commit 537b70d

Browse files
authored
switch to using python3 in the script for no-config debugging (microsoft#576)
* switch to using python3 in the script for no-config debugging * update python3 to python in some cases
1 parent cc17200 commit 537b70d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#! /bin/bash
22
# Bash script
3-
python $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $@
3+
python3 $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $@
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Fish script
2-
python $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $argv
2+
python3 $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $argv
+5-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# PowerShell script
2-
python $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args
2+
if ($PSVersionTable.OS -match "Windows") {
3+
python $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args
4+
} else {
5+
python3 $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args
6+
}

0 commit comments

Comments
 (0)