Click here to Skip to main content
15,911,306 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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.
Posted
Updated 2-Feb-17 20:16pm
Comments
Suvendu Shekhar Giri 30-Jan-17 2:24am    
Try setting Internet Explorer as default browser in Visual Studio if you are using Visual Studio.

If you wish only to debug Angularjs which is javascript code you can use F12 / developer which is inbuilt in modern day browser
 
Share this answer
 
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!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900