You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Debugging tests with a native debugger requires --InIsolation flag #10393
With environment variable VSTEST_HOST_NATIVE_DEBUG, we can use a native debugger to debug tests but it requires --InIsolation flag.
When using the argument --tests: to run a specific test, testhost.exe is spawned twice and we must attach twice to properly debug.
When the environment variable VSTEST_RUNNER_DEBUG is set, vstest.console only waits for a managed debugger.
I propose to add new environment variable VSTEST_RUNNER_NATIVE_DEBUG to enable native debugging of vstest.conssole.
This will enable native debugging of tests without the --InIsolation flag.
Activity
nohwnd commentedon Oct 21, 2024
Sure, please go ahead and make a PR.