12

I have been searching for an answer for 2 days now so really hope someone can help.

When I try to debug my project the application freezes, nothing happens in the browser it just keeps loading and there are no error messages.

I realized that debugging works if i disable javascript debugging. But when i enable it and set a breakpoint ANYWHERE (it does not matter where) the app freezes.

  • My computer did an update to Windows 11 Pro in the beginning of the week.
  • I have not made any code changes
  • The application runs without errors when javascript debugging is disabled.
  • I downloaded my project to another computer that runs on Visual studio 2019 (and an older windows version). Then I can debug with javascript and everything works perfectly.

Any ideas on how to fix this?

6
  • 1
    I'm having the same issue. Didn't pick up on the breakpoint aspect though, so thanks for pointing that bit out. Commented Mar 15, 2023 at 11:55
  • Glad to help! Please let me know if you figure it out. @RazorUK84 Commented Mar 15, 2023 at 12:36
  • I am having the same issue too Commented Mar 15, 2023 at 20:53
  • 1
    Same issue here, disable the feature and use chrome dev tools as a workaround. Commented Mar 17, 2023 at 14:33
  • 1
    @RohitGupta using a debugger (a programming tool) is perfectly on-topic here. Commented Apr 5, 2023 at 12:56

3 Answers 3

2

I have solved it this way, I have investigated a lot and I have not found the way to solve it and in this way I achieved it, I hope it helps everyone. Reset the javascript configuration and it solved in my case

enter image description here

enter image description here

enter image description here enter image description here

Sign up to request clarification or add additional context in comments.

5 Comments

That did not work for me. :(
In my case it did work, I had to reboot for it to take effect
I tried the solution as presented... didn't work for me.
That did not work for me. I had exactly the same problem being described. I have finally fixed by, close VS, delete the .vs folder for the project, open the project again, and all working now
Updating chrome did the trick for me, thank you for your help though! :) @RazmiMartinez
1

It seems they have fixed it. If you have Edge Dev installed, this morning a new version has been deployed. Version 112.0.1722.15. After updating it also Edge 111.0.1661.51 (Official Builder) and Chrome 111.0.5563.110 (Official build) started to work again.

Comments

0

What worked for me was to delete the project .vs folder.

I also started having this problem after a windows update

1 Comment

I keep having to delete the .vs folder after setting one. I have found this: developercommunity.visualstudio.com/t/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.