Visual Studio Javascript BreakPoint not getting hit, why?

前端 未结 5 1241
终归单人心
终归单人心 2021-02-15 13:05

Possible to set a breakpoint for the code block of javascript like the screenshot below. How can we use them? VS always ignores.

5条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-15 14:07

    Yes you can put the break-point on client side page in Visual studio

    First Put the debugger in java-script code and run the page in browser

    debugger

    After that open your page in browser and view the inspect element you see the following view

提交回复
热议问题