-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch to using python3 in the script for no-config debugging (#576)
* switch to using python3 in the script for no-config debugging * update python3 to python in some cases
- Loading branch information
1 parent
cc17200
commit 537b70d
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |