Skip to content

Commit

Permalink
switch to using python3 in the script for no-config debugging (#576)
Browse files Browse the repository at this point in the history
* switch to using python3 in the script for no-config debugging

* update python3 to python in some cases
  • Loading branch information
eleanorjboyd authored Jan 27, 2025
1 parent cc17200 commit 537b70d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bundled/scripts/noConfigScripts/debugpy
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 $@
2 changes: 1 addition & 1 deletion bundled/scripts/noConfigScripts/debugpy.fish
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
6 changes: 5 additions & 1 deletion bundled/scripts/noConfigScripts/debugpy.ps1
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
}

0 comments on commit 537b70d

Please sign in to comment.