Enable the javascript debugger in the Page Inspector

前端 未结 2 924
傲寒
傲寒 2020-12-04 15:52

Visual Studio 2012 comes with the very nice Page Inspector. I like it! Problem though, I haven\'t found how (if?) I can turn on JavaScript debugging. Could someone point me

2条回答
  •  一生所求
    2020-12-04 16:28

    Until this week, I was able to carry debugging of JavaScript in Visual Studio 2012 merely by entering "debugger" in the JavaScript function which acted as a breakpoint, and was able to step through the JavaScript code in the Visual Studio window just the same as the C# code. I did this for the past 11 months until 1 week ago. I made no changes to the default installed settings.

    This was the solution suggested in the Asp.Net Forums by Rion Williams. http://forums.asp.net/t/1984115.aspx?Debugging+Javascript+in+MVC And as stated it has allowed me to properly step through my code for the last 11 months.

提交回复
热议问题