Skip to content

switch to using python3 in the script for no-config debugging #576

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
Loading