Skip to content

Commit 772d865

Browse files
committed
Change debug enablement on Windows / pwsh.
1 parent 913318b commit 772d865

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: action.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,8 @@ runs:
176176
COVERAGE_REPORTER_VERSION: ${{ inputs.coverage-reporter-version }}
177177
shell: pwsh
178178
run: |
179-
# Enable debugging if 'debug' is true
180179
if ("${{ inputs.debug }}" -eq "true") {
181-
$DebugPreference = 'Continue'
180+
Set-PSDebug -Trace 1
182181
}
183182
184183
New-Item -Path $env:HOME\bin -ItemType directory -Force

0 commit comments

Comments
 (0)