문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top