Skip to content

Commit 449424c

Browse files
authored
Add troubleshooting documentation for Test Explorer
1 parent 21d0d61 commit 449424c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,21 @@ 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+
1. Increase Test Explorer Verbosity:
200+
Navigate to the C# Dev Kit settings and increase the Test Explorer Verbosity setting from minimal to diagnostic. This will generate more detailed logs.
201+
2. Check the Output Window:
202+
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.
203+
3. Collect the Following Information:
204+
When reporting an issue, ensure you include:
205+
- The diagnostic logs from the Output window.
206+
- Your operating system (e.g., Windows 10, macOS 13).
207+
- The version of the C# Dev Kit extension you are using.
208+
209+
This information will help in diagnosing and resolving the issue more efficiently.
210+
196211
## Debugger
197212

198213
### When I F5, nothing happens

0 commit comments

Comments
 (0)