简体   繁体   English

使用VS 2012调试JavaScript

[英]Debug JavaScript with VS 2012

I was using VS 2010 for a long time and actually was able to place break points in the javascript of a page and debug the code. 我使用VS 2010已有很长时间,实际上我能够在页面的javascript中放置断点并调试代码。 Now, with VS 2012, I can no longer do that. 现在,在VS 2012中,我不能再这样做了。 Does anyone know why or if there is a way to debug? 有谁知道为什么或是否有调试方法?

did you check what's the default browser used when running application from VS2012? 您是否检查了从VS2012运行应用程序时使用的默认浏览器是什么? Note that you can only debug JavaScript file using IE 请注意,您只能使用IE调试JavaScript文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM