Visual Studio Code C# Test Explorer: configuration of Run and Debug mode in dev container?

2 days ago 8
ARTICLE AD BOX

In a C# project within VSCode with xUnit tests, Test Explorer in the dev container offers you a Run and a Debug option. Where do you configure the details of these? In particular, "Run" completely ignores (filters?) LD_PRELOAD from the environment that I've set in the Dockerfile via ENV. The Terminal picks it up, it's set in "Debug"-mode...

Our life would be much easier if I could get the UI to pick it up or set it explicitly under normal conditions!

(I know that on the commandline I am able to set .runsettings which can modify the environment that works, but in VSCode apparently the only way to use those settings is invoking dotnet test ... in the terminal.

Read Entire Article