How can i debug JavaScript code in Visual Studio 2010 with MVC Razor projects?
Asked
Active
Viewed 90 times
1 Answers
0
JavaScript is ran in the browser rather than on the server, so it depends on which browser you're testing in. See this question:
-
I want to debug in Visual Studio rather than the browser – mhd May 28 '14 at 18:28
-
I recommend Firefox plus Firebug – LarsBauer May 28 '14 at 18:31
-
The problem is that Visual Studio doesn't run the JavaScript. So it can't debug the JavaScript. You have to do it in a browser. – RyanB May 28 '14 at 18:32
-
If there's a one thing I'd take with me if I was shipwrecked on an island that would be Firebug. – Tomi Lammi May 28 '14 at 18:51