4

Is there a way to debug AngularJS code in Visual Studio?
Note: I'm not talking about VS Code.
I would like to be able to set breakpoints and see what's happening there.
I'm aware of other IDE-s which allow us to do that.
So is it possible to use Visual Studio IDE for that?

3
  • 1
    why cant you use chrome wed developer tool Commented Jun 25, 2017 at 13:50
  • of course it's possible; what happens when you try? what are you asking for help with, exactly? Commented Jun 25, 2017 at 13:57
  • When I run the app, Visual Studio disables the breakpoint by telling that that part is not loaded. (I was using firefox) Commented Jun 25, 2017 at 18:41

2 Answers 2

3

put break point in visual studio(Angularjs code) and run your application in IE so that break point will hit into visual studio

Sign up to request clarification or add additional context in comments.

3 Comments

So it turned out I had to use IE instead of Firefox. Thanks.
In 2021 this works with Visual Studio 2019 and Microsoft Edge.
0

Nowadays we can use Edge as well instead of IE. That is a better solution since it's chromium based and has less issues compared to IE.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.