Файли
openidea/docs/en/languages
trung trucтаtrucuit d85939395b feat(dotnet): debug .NET tests with netcoredbg (#8253)
.NET test configurations (dotnet-test, C# test gutter icons, test tree items, Run widget) can be debugged with netcoredbg while the TRX results and console output stay in the Run tab. VSTest runs set VSTEST_HOST_DEBUG=1 (with DOTNET_CLI_UI_LANGUAGE=en) and netcoredbg attaches to each reported test host pid, covering multi-TFM and solution runs; single-project Microsoft.Testing.Platform runs build and start the test assembly with --debug directly. Project detection inherits TargetFramework, IsTestProject and test framework package references from ancestor Directory.Build.props (following GetPathOfFileAbove). The relisten window after a detach applies to JVM debuggers only, and Stop on a linked .NET test debug run disconnects the debug session once.

Refs #615

Co-authored-by: trucuit <[email protected]>
2026-12-06 00:32:10 +08:00
..