如何在dot net MVC项目中调试 [英] How to debug in dot net MVC project

查看:72
本文介绍了如何在dot net MVC项目中调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Friends,



我开始研究DotNet MVC Project.Can任何伙伴都告诉我如何调试Dotnet MVC框架中的AngularJS函数



谢谢



我的尝试:



我尝试调试通过

调试器;

alert(hi);


$ JS中的b $ b函数但它无法正常工作。

Hello Friends,

I am started working on DotNet MVC Project.Can Any buddy tell me how to debug in AngularJS function in Dotnet MVC framework

Thanks

What I have tried:

I Try to debug through
debugger;
alert("hi");

function in JS but its not working.

推荐答案

如果您只想调试Angularjs这是javascript代码,您可以使用现代内置的F12 /开发人员日浏览器
If you wish only to debug Angularjs which is javascript code you can use F12 / developer which is inbuilt in modern day browser


如果您想调试角度代码,只需编写调试器,就必须使用任何浏览器的开发工具。在尊重的视图中,即您要调试的位置,并确保在执行该单元之前按F12。



享受!
If you wish to debug angular code you have to use developer tools of any browser by just writing "debugger;" in respected view i.e from where you want to debug and make sure you press F12 before executing that unit.

Enjoy!


这篇关于如何在dot net MVC项目中调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆