How to use Visual Studio debugging JavaScript code

Recently using angularjs quite offen, I know there are a lot tutorial tell you how to use browse to debugging the javascript. But I am .net developer, I really like to use VS studio to do the debugging isn’t that will be more easy.

Here I search internet and finally figured out how to do it. I put it here how that could help someone else.

First, Open IE(my solution is VS2013 debugging working with IE browse, It seems that this solution working with IE, I test in google Chrome doesn’t work)

Second,Open you application solution, go to Debug->Attach to Process…

debuggingJavascript01

Now you could set breaking point, and debugging like below

debuggingJavascript02In_VS2013