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…


Now you could set breaking point, and debugging like below



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s