-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to debug AppHost #247
Comments
@cecilphillip Thank you for the feedback. Actually, "it's not a bug, it's a feature". I intentionally run the Host project without a debugger attached to simplify the user experience. From what I understand, Host project is more like |
Hi @rafaelldi. Thanks for an explanation. That makes total sense now that you say it. I was working on some custom resources and wasn't understanding why my break points were not getting hit. Honestly I thought I was doing something wrong 😂. My assumption was that the experience would be the same for both, with regards to debugging the app host. Maybe there could be a small section in the plugin documentation that talks about this. |
A very common use case would be to debug your 'composing' process, over time it will very likely get complex enough that a debugger would be helpful. |
Thank you! I'll consider to support debugging |
In other Rider configurations (without Aspire), Multilaunch configs allow the user to choose what they want and what they don't want to debug. Perhaps we can add a checkbox to the Aspire configuration (unchecked by default if we consider it a better choice), to create a separate debug session for the Host projects? |
Nice idea! |
I decided to keep it simple. Just enable host debugging if it's a debugging session. I think this is the clearest option. |
Describe the bug
I am able to debug other projects in the solution but breakpoints don't get trigger in the AppHost.
This happens when using the AppHost configuration, but breakpoints get trigger when I use the ".NET Launch settings profile" instead
To Reproduce
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Reproducing sample
Link to a test project to reproduce the bug.
System information:
The text was updated successfully, but these errors were encountered: