We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90f1fe9 commit bdd8163Copy full SHA for bdd8163
bundled/scripts/noConfigScripts/debugpy.ps1
@@ -1,6 +1,7 @@
1
# PowerShell script
2
-if ($PSVersionTable.OS -match "Windows") {
+$os = [System.Environment]::OSVersion.Platform
3
+if ($os -eq [System.PlatformID]::Win32NT) {
4
python $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args
5
} else {
6
python3 $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args
-}
7
+}
0 commit comments