Visual Studio 2010 script debugger doesn't work for me

后端 未结 8 545
礼貌的吻别
礼貌的吻别 2020-12-14 06:23

I just installed VS 2010 Beta 2 and wanted to play with an ASP.NET MVC 2 project. I simply added some script (alert(\'hello\');) into the Home controller\'s in

8条回答
  •  悲&欢浪女
    2020-12-14 06:46

    As Ryan noted above, I moved my script to a seperate file under the Scripts folder. I also added debug into the name of the script so it became MyTestScript.debug.js. I included the script via a script tag and could set break points in the script file which the debugger hit.

提交回复
热议问题