vscode icon indicating copy to clipboard operation
vscode copied to clipboard

feat: add the ability to define env variables for use when debugging

Open Alanoll opened this issue 2 months ago • 1 comments

This adds the ability to define a separate set of environment variables to use when debugging vs when normal running of the tests via the extension.

A new vitest.debugNodeEnv setting is added to the extension and only used when executing a test via debugging.

Alanoll avatar Dec 13 '25 05:12 Alanoll

I wasn't sure where/how to add tests that explicitly test with the debugger in play, so I modified an existing test project that had tests for environment variables.

Alanoll avatar Dec 13 '25 05:12 Alanoll

LGTM 👍

sheremet-va avatar Feb 04 '26 08:02 sheremet-va