Skip to content

Commit 9ecfa9f

Browse files
authored
fix powershell script for powershell no-config debug (#610)
1 parent 020cc10 commit 9ecfa9f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# PowerShell script
2-
if ($PSVersionTable.OS -match "Windows") {
2+
$os = [System.Environment]::OSVersion.Platform
3+
if ($os -eq [System.PlatformID]::Win32NT) {
34
python $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args
45
} else {
56
python3 $env:BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $args
6-
}
7+
}

0 commit comments

Comments
 (0)