VS2013 Debugging Javascript

Does anyone know how to enable tag debugging in a JavaScript script page?

In vs2012, can I go to a page in visual studio that works in the debugger and create a breakpoint, but in vs2013 I get "Breakpoint cannot be inserted in this place"?

thanks

+7
visual-studio-2013
source share
2 answers

try to save your scripts in separate files and put breakpoints in these files. I had the same problem, but when I moved java scripts from my views to script files, I was able to debug. It may not be a solution, but at least you should work.

+1
source share

In Visual Studio 2013, there was a known issue due to which breakpoints did not work correctly inside script blocks. The correction was made and included in the recently released version of Visual Studio 2013 Update 2 RC, which you can install from http://www.microsoft.com/en-us/download/details.aspx?id=42307 .

0
source share

All Articles