Rider - Blazor Web App Debug
Is there a way, how to figure out why Rider is unable to connect the debugger agent in the hosted Blazor WASM app?
I tested it on the new NET8 Blazor Web App template with WASM components and here it works great even with hot-reload.
But when I ran my other project it did not work at all and showed me the message which you can see below. It is a NET6 Blazor WASM Asp-hosted project migrated to NET8. So I looking for ways to debug the debugger.
Please sign in to leave a comment.
Hello,
Thank you for contacting Rider Support. We are sorry to hear that you have run into such a problem. To take a closer look at the issue, we will need some additional information. Please do the following:
Thank you in advance and have a great day!
Hello,
here is the log file
Upload id: 2024_05_17_aUsgj4esXSwPL3VRk5hN9u (file: rider-logs-20240517-0824171159474586944156214.zip)
Hello,
Thank you for the log shared!
Would you mind trying the following steps to see if it helps?
Hope to hear from you soon.
Have a nice day!
I have an other project on .net 8, and have the same issue.
It works previously(3 month ago), but was broken about 2 month ago.
I have mac m1 max, and see the same error in both mac rider and win rider(parallels)
Upload id: 2024_06_13_24JH71aEXN2UbanMLRAVms (file: rider-logs-20240613-1624388626866998520968467.zip)
Hello Andrey,
Thank you for your report.
I see the same the same exception in the Debugger logs as the user up in this thread. Would you mind trying the steps I suggested above?:
If that doesn't help, find the path mentioned in the top Chromium browser configuration. Then close Rider and delete this folder. Launch Rider and verify if the issue persists.
Have a nice day!
Hello, Dmitry Kazantsev.
I've tried the steps you provided, still doesn't work
I've used the latest nuget package versions
I cannot to send the project because of NDA.
Best regards,
Andrei Kotov.
Hello,
I have also tried all the recommendations. Unfortunately, none of them helped.
I can't share the project publicly either.
OK
Would you mind comparing index.html files one more time? The one in your migrated project with one in a newly created project. We still suppose the project is migrated in a wrong way. If possible, could you please share these index.html files?
Note: user uploads are only available for JetBrains employees. Also, we don't mind to sign an NDA, so that you can freely share the whole project. It will help us a lot with troubleshooting the case.
Dear On Krejci,
Would you mind telling me if your project is migrated to .Net 8 or you experience the issue with a newly created project?
Also, could you please share Rider logs with Debugger trace scenario enabled?
1) Enable Debugger in Help | Diagnostic Tools | Choose Trace Scenarios;
2) Reproduce the issue;
3) Collect logs via Help | Collect Logs and Diagnostic Data;
4) Disable the trace scenario enabled;
5) Upload the logs bundle to the Upload Service (https://uploads.jetbrains.com/) and let me know the Upload ID;
6) It will be helpful if you could share a recording that demonstrates the issue;
Have a nice day!
Hello,
I have created this topic. My project was migrated from NET6 hosted Blazor Wasm to NET8 Blazor Web App, so index.html was removed and replaced with App.razor in server project.
I can share the App.razor file if it helps.
Sincerely
OK
Hello On Krejci,
Is it possible to share these files?
Have a nice day!