I recommend using the developer tools in the browser of your choice.
However, I have been able to debug JS in Visual Studio by temporarily adding a debugger;
statement in the javascript. This will attach the debugger in Visual Studio. Just remember to remove it afterwards though.
Debug Backbone Javascript using Visual Studio
Pergunta
I've website developed in VS 2010 which is using MVC framework & backbone javascript.
I want to know how to debug backbone javascript step by step by putting a debugger in JS file within Visual Studio.
When I put a breakpoint in JS, it says no symbol will be loaded.
Any clue how to debug backbone JS via visual studio or any other alternatives?
Thanks!
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow