Well, I found that it really can be done. Since there seems to be not much in the far reaches of the Internet, I put it here.
I have a visual studio installed, so before the line where the error occurred, I added:
debugger;
This prompted me to choose which tool I would like to use for debugging JS, and I chose Visual Studio 2010, and it allowed me to get through as I hoped
You should also cancel the Disable script debugging (other) ( Instructions here )
source share