Visual Studio 2013 can't debug javascript in cshtml

后端 未结 7 711
挽巷
挽巷 2020-12-14 05:43

I have an ASP.NET Web Application created with Visual Studio 2013. I am attempting to debug JavaScript in a CSHTML file. However, whenever I launch the webpage, any breakp

7条回答
  •  被撕碎了的回忆
    2020-12-14 06:36

    One additional thing to check. If you have a App_Start|BundleConfig.cs (which came with MVC 4 - or maybe 3), set BundleTable.EnableOptimizations to false (or, like I did, wrap it in an #if !DEBUG #endif and take the default setting).

提交回复
热议问题