Failed to debug javascript in Visual Studio

I tried to debug my javascript, but it does not work at the breakpoint.

I am using IE8 and VS2010.

When trying to add

debugger

an error occurs, for example:

An unhandled exception (script breakpoint) occurred in iexplorer.exe Possible debuggers:

I found that Tools -> Debugging -> Just In Time -> script is not installed.

I checked it and saved it .... It remains unchecked ....

I repaired my visual studio, but the problem continues ...

The problem occurs after installing VS2012

+4
source share
5 answers

I know this late, but I found out why this happened to me. I had

debugger; 

scattered throughout the javascript file because both IE and Chrome didn’t hit my breakpoints.

When using IE and pressing F12 for developer tools, the code breaks into debugger lines, but the Windows popup does not open. Clicking Continue in the debugger window usually executes the code.

Hope this helps

+1
source

Check out this one , so answer, it seems like you are not following all the necessary steps

0
source

I had a similar problem. I renamed default.html to index.html and lost script debugging.

Go to the project properties web pages tab. Make sure Start Action is set to Specific Page and your start page is selected in the text box.

0
source

I find it too late to answer.

But deploy your solution in Visual Studio in RELEASE RELAY and NOT IN DEBUG MODE.

This solution solved my problem.

0
source

Go to Tools => Options => Debugging => Just-In-Time and uncheck the Script box to

0
source

Source: https://habr.com/ru/post/1494891/


All Articles