ASP.NET MVC:@helper 不能调试

ASP.NET MVC 的 @helper 不能设置断点,当然我们可以将逻辑移动到扩展方法中,这里介绍另外一种方式,使用:System.Diagnostics.Debug.WriteLine,编程旅途以来,很少使用这个方法,这里记下来,希望下次遇到类似的场景,能立即想到她。

原文地址:https://www.cnblogs.com/happyframework/p/3612124.html