We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 020cc10 commit 9ecfa9fCopy full SHA for 9ecfa9f
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