Can't Debug Javascript file in latest version of Visual Studio 2022

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 year ago
0


Trying to debug JS file using visual studio. Receive "The breakpoint will not currently be hit. Breakpoints set but not yet bound." error on every breakpoint.

Tried everything in:

Breakpoints set but not yet bound in Visual Studio

Howto debug JavaScript inside ASP .Net Core 3.1 MVC applications (Razor view - *.cshtml)?

Running latest version of VS 17.5.3

I am trying to do this with the latest version of nopcommerce solution 4.60.2
1 year ago
There are a few posts about jScript and debugging
https://www.nopcommerce.com/en/boards/search?searchterms=jscript
1 year ago
Actually I'm an idiot.  Debugging stand-alone JS files works after all.  While the "unbounded" warning persists on all the breakpoints no matter what settings and troubleshooting I tried, in the end, if your Script reference in the Razor file is accurate and the script file gets hit, VS will in fact break where it's supposed to.  The fact the "unbounded" warning still persists is clearly a bug or quirk with VS but it is what it is.... VS:  it's a love-hate relationship!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.