admin管理员组

文章数量:1315811

Annoyance: I'm working on my application, and I find a bug. I instantly think 'Time to debug it!', and I open Chrome, and then open Dev Tools, and then use its rather inelegant debug tools.

Desire: I'd love to be able to: open my browser, set Studio to debug mode, breakpoint a few places in my controller.js file, and start stepping through things in Visual Studio.

I'm using Visual Studio 2013 Ultimate and Chrome - can it be done?

Annoyance: I'm working on my application, and I find a bug. I instantly think 'Time to debug it!', and I open Chrome, and then open Dev Tools, and then use its rather inelegant debug tools.

Desire: I'd love to be able to: open my browser, set Studio to debug mode, breakpoint a few places in my controller.js file, and start stepping through things in Visual Studio.

I'm using Visual Studio 2013 Ultimate and Chrome - can it be done?

Share Improve this question edited May 4, 2015 at 21:05 PKD asked May 4, 2015 at 20:58 PKDPKD 7072 gold badges13 silver badges40 bronze badges 3
  • 1 Client-Side Script Debugging – Robert Harvey Commented May 4, 2015 at 21:00
  • I'm sorry - I see I pletely forgot to mention, and I'll update the question to reflect it, but I'm using Chrome as my browser, because I'm pretty sure IE is just a joke MS plays on everyone. – PKD Commented May 4, 2015 at 21:05
  • 1 "Debugging with Visual Studio" on the Chrome Developer website. – Robert Harvey Commented May 4, 2015 at 21:12
Add a ment  | 

2 Answers 2

Reset to default 5

Use Internet Explorer as default browser in Visual Studio instead. It works!

This is a VS Code extension to debug your JavaScript code in the Google Chrome browser, or other targets that support the Chrome Debugging Protocol.

VS chrome debugging add-in

本文标签: javascriptIs it possible to debug angularjs in MVC in Visual Studio 2013 UltimateStack Overflow