diff --git a/src/Components/TestExplorer.fs b/src/Components/TestExplorer.fs index a9929121..24857432 100644 --- a/src/Components/TestExplorer.fs +++ b/src/Components/TestExplorer.fs @@ -578,7 +578,12 @@ module DotnetCli = childEnv |> box |> Some Process.execWithCancel "dotnet" (ResizeArray(args)) env tryLaunchDebugger cancellationToken - | NoDebug -> Process.execWithCancel "dotnet" (ResizeArray(args)) None ignore cancellationToken + | NoDebug -> + let env = + let staleOverrides = {| VSTEST_HOST_DEBUG = 0 |} + staleOverrides |> box |> Some + + Process.execWithCancel "dotnet" (ResizeArray(args)) env ignore cancellationToken type TrxPath = string