C
C#16mo ago
Zhyrnyi Pes

✅ Debugging razor component page isn`t working

Could you please tell me why the debugger on the .razor page may not work? On the page to which visual studio refers, it says that I need to check if my module is loaded, but as I understand it, web modules are not loaded at all, is this the problem?
5 Replies
Zhyrnyi Pes
Zhyrnyi Pes16mo ago
It's interesting that the project is in production and other developers can debug pages. I suspect that I need to change some settings in my IDE, but I don't understand which ones
undisputed world champions
just some things to consider: are you starting in debug mode? are there any errors in the error view? have you tried restarting vs?
Zhyrnyi Pes
Zhyrnyi Pes16mo ago
@icebear 1. Yes 2. No 3. Yes Debugging works everywhere except for .razor pages - this is the only place where the breakpoint has a yellow flag and this message
Accord
Accord15mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Zhyrnyi Pes
Zhyrnyi Pes15mo ago
The problem was in the browser. I use Brave as my main browser, and for some reason it doesn't debug the code. When I changed the browser in the project launch settings to Edge, everything worked
Want results from more Discord servers?
Add your server
More Posts
❔ How to read configuration based on environmentI have a stored my connection string as configuration in web.config. Now I have stored the same conn❔ PlayStation 2 startup recreationWondering how I can recreate the iconic PS2 startup, and whag framework would fit this question❔ Send using http post with multiple parameters, to an endpoint defined in C# with minimal APIsI've got an endpoint like so: ```csharp app.MapPost("/endpoint1", async ValueTask<IResult?> (string ❔ Does AssemblyLoadContext use dependencies that are already loaded in the default context?I'm not debugging any issues, I'm just trying to make sure I understand what I can expect this subsy✅ Can't use `gh webhooks forward`: "Error: you must be authenticated to run this command"I'm trying to forward github webhooks to a local server for testing purposes, following <https://doc❔ need some help for school assignment - changing image via variablehey, having problems building a microsoft form in c#, part of my assignment is to build a basic educ❔ Writing to StreamWriter FailsHi, I was experimenting with permanently saving things for the first time and ran into problems. Des❔ road mapi have a question, basic c# and .which topic should I study after netcore 5 training?✅ Testing GitHub webhooks on my local machineI'm currently developing a project using <https://github.com/octokit/webhooks.net>. What's the best ❔ How to prevent code from being leaked?When you created a tool and added a licence system like auth.gg, how can you make the code unreadabl