ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
850 stars 276 forks source link

Forward env variables in test debugging #1951

Closed farlee2121 closed 8 months ago

farlee2121 commented 8 months ago

WHAT

Ensure environment variables are forwarded when debugging tests.

WHY

Issue #1946 revealed that the environment variables were not the same between debug and non-debug executions of a test. This causes inconsistent behavior for tests that access environment variables.

The cause of this bug was accidental override of the whole environment variable collection in order to set the debug flag for vstest.