Troubleshooting .NET Aspire projects
If you experience a potential bug, you can report it in the plugin's Issues section on GitHub. Please don't forget to provide a detailed description of the problem, steps to reproduce, as well as screenshots and logs if possible.
Collect and share IDE logs
You can collect and attach logs, they will help us investigate the problem.
Select Help | Diagnostics Tools | Choose Trace Scenarios from the menu.
Click Advanced log settings.
Insert
me.rafaelldi.aspire:all
into the text area.Reproduce the issue.
Select Help | Collect Logs and Diagnostic Data from the menu.
Attach the archive to the issue.
Collect .NET Aspire session host logs
Sometimes it is required to collect logs from the aspire-session-host
service, which communicates with the Aspire host.
Go to the plugin directory and open the aspire-plugin/aspire-session-host/appsettings.json file. This is a default aspnetcore configuration file.
Change the level of the
Default
andAspireSessionHost
categories. The updated logs will be reported to the IDE logs.{ "Logging": { "LogLevel": { "Default": "Information", "AspireSessionHost": "Trace" } }, "AllowedHosts": "*" }Attach the log file to the issue.