Skip to content

Commit bc37ecb

Browse files
authored
Merge pull request #7841 from ocallesp/test-explorer-troubleshooting
Add troubleshooting documentation for Test Explorer
2 parents 237321c + b8c9376 commit bc37ecb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/csharp/cs-dev-kit-faq.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,22 @@ C# Dev Kit requires that it has built your project successfully before tests wil
193193

194194
Build your solution by right-clicking on the solution in the Solution Explorer and select **Build** or `kb(workbench.action.tasks.build)`. Once the build has been completed, your tests will appear in the Test Explorer panel.
195195

196+
### How do I collect logs for troubleshooting issues with Test Explorer?
197+
198+
If you are encountering issues with Test Explorer, you can enable diagnostic logging to gather more information for troubleshooting:
199+
200+
1. Increase Test Explorer verbosity:
201+
Navigate to the C# Dev Kit settings and increase the Test Explorer Verbosity setting from `minimal` to `diagnostic`. This will generate more detailed logs.
202+
2. Check the Output Window:
203+
Open the Output window in Visual Studio Code, and select **C# Dev Kit - Test Explorer** from the dropdown. Diagnostic messages will appear with a `[dev]` prefix.
204+
3. Collect the following information:
205+
When reporting an issue, ensure you include:
206+
- The diagnostic logs from the Output window.
207+
- Your operating system and version (for example, Windows 10, macOS 13).
208+
- The version of the C# Dev Kit extension you are using. Go to the Extensions view, and hover over the extension to view the version information.
209+
210+
This information will help in diagnosing and resolving the issue more efficiently.
211+
196212
## Debugger
197213

198214
### When I F5, nothing happens

0 commit comments

Comments
 (0)