Javascript breakpoints in Visual Studio 2017

后端 未结 12 2453
北荒
北荒 2020-12-05 04:14

I just installed Visual Studio 2017. After starting an ASP.NET MVC application I get the message that chrome debugging in Visual Studio is enabled.

But my breakpoint

12条回答
  •  天涯浪人
    2020-12-05 04:47

    Two options you could try:

    1. Turn off the "Enable JavaScript debugging for ASP.NET (Chrome and IE)" in VS options, and then use the debugger (F12) in your browser.
    2. Start debugging in Visual Studio and then add your breakpoint(s) in Solution Explorer -> Internet Explorer -> . (Assumes you are using IE)

提交回复
热议问题