-
Notifications
You must be signed in to change notification settings - Fork 539
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
Errors debugging Aspire in VS Code on Mac after upgrading to Sequoia #5860
Comments
FYI I am on an M2, so Apple silicon. Someone else replied in the discussion topic I originally created that on an Intel Mac, he is not experiencing the same error. |
I also have the same issue. M1 with Aspire 8.2.0 My dotnet --info
|
I'm seeing the same thing on Apple Silicon (M2) as well. Issue seems to have shown up after the Sequoia upgrade as well. Similar to you, I can debug test cases and other non-Aspire apps fine so I suspect that the bug is manifesting from the Aspire-specific debugging hooks? I can provide logs but not sure what the right log source is for these specific issues. cc: @WardenGnaw for any insights on logs we can gather or people we can loop in |
"The JSON-RPC connection with the remote party was lost before the request could complete" is generally something failed with brokered service communication. I don't think we have specific logs for this section unless you see an actual debug session start. Things that could be helpful for this investigation:
|
I was able to repro this on both the pre-release and release builds of the extensions. C# extension version: v2.48.31 (pre-release), v2.45.25 The AppHost itself is not starting to debug. |
Also, can run AppHost from the CLI. |
Likely root cause dotnet/announcements#324 |
After trying the workaround here dotnet/runtime#106775 (comment) I can now launch the dashboard and everything in debug mode but I cannot hit any breakpoints? I did try to add the "requireExactSource" but that does not work either. |
I am also running into this issue on a M3 Mac. It started after upgrading to Sequoia. C# Dev Kit: v1.10.18 I can run the AppHost from CLI but not when launching through VSCode debug mode. |
Same- M3, all good until latest OSequoia upgrade |
The fix for this issue in the .NET SDK was included in today's releases of .NET 8.0.10 and .NET 9.0-rc.2. Would be good if someone can upgrade and confirm the issue is fixed for them. |
I'm able to debug my Aspire apps after upgrading. Would be good to get confirmation from other folks as well. |
Originally posted by @jhancock-taxa in #9532 |
My debugging works after upgrading as well. |
I am also confirming that Aspire debugging is working on a M3 Mac after upgrading to .NET 8.0.10 |
Thanks for the confirmations folks. Closing this out. |
Discussed in #5822
Originally posted by jeffa00 September 21, 2024
After upgrading to Sequoia I get an error trying to start debugging on the AppHost project.
The specific error I get is "The JSON-RPC connection with the remote party was lost before the request could complete."
Google and Bing haven't yielded much help. I find a similar error in Visual Studio from back in 2019ish, but nothing recent.
I've uninstalled extensions, then VS Code, but no joy.
I can debug the web app just fine, but the error always occurs when trying to start AppHost.
I'm trying to figure out if it is indeed something in Sequoia. I have a work mac with Sonoma that doesn't have the issue.
Just curious if anyone else has seen this or if I'm just super lucky. :-)
The text was updated successfully, but these errors were encountered: