断点当前不会被击中。(the breakpoint will not currently be hit. no symbols have been loaded for this document vs 2013 javascript)
这是与MVC5相关的问题。
我无法调试我的javascript代码,但我可以调试我的C#代码,这太烦人了,我读了很多解决方案,但没有一个适合我。
This is an MVC5 related issue.
I cannot debug my javascript codes but I can debug my C# codes, it's so annoying, I read many solutions but none of them worked for me.
最满意答案
另一位团队成员补充了这一点,我不知道这一点。
BundleTable.EnableOptimizations = ture;当您激活EnableOptimizations时,Visual Studio使用.min版本的.js文件,您将无法调试它们。 我只是将其改为false并且有效。
Another team member added this and I wasn't aware of that.
BundleTable.EnableOptimizations = ture;When you activate the EnableOptimizations, Visual Studio uses the .min version of .js files and you won't be able to debug them. I just changed it to false and it worked.
更多推荐
发布评论