简体   繁体   中英

the breakpoint will not currently be hit. no symbols have been loaded for this document vs 2013 javascript

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.

在此处输入图片说明

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM