Skip to content

Commit 9b10077

Browse files
authored
Surface Errors in VSCode Extension and pass env to pwsh process (#158)
* Pester Test Adapter should error if Pester is not Installed Fixes #54 * Surface additional PesterInterface Logging * Explicitly specify homedir so that PowerShell can find its PSModulePath * Better handing of env to inherit more gracefully
1 parent 7b08df6 commit 9b10077

File tree

4 files changed

+51
-17558
lines changed

4 files changed

+51
-17558
lines changed

Scripts/PesterInterface.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ param(
2323
[String]$IncludeAnsi
2424
)
2525

26-
$VerbosePreference = 'SilentlyContinue'
27-
$WarningPreference = 'SilentlyContinue'
28-
$DebugPreference = 'SilentlyContinue'
26+
Write-Debug -Debug "Home: $env:HOME"
27+
Write-Debug -Debug "PSModulePath: $env:PSModulePath"
2928

3029
if ($psversiontable.psversion -ge '7.2.0') {
3130
if ($IncludeAnsi) {

0 commit comments

Comments
 (0)