[英]Cannot create JavaScript breakpoints in Visual Studio 2017
I cannot insert breakpoints into JavaScript files in visual studio 2017. Anyone else having this issue and has anyone found a solution?我无法在 Visual Studio 2017 中将断点插入 JavaScript 文件中。还有其他人遇到此问题并找到解决方案吗?
edit: The other questions were related to breakpoints not being HIT .编辑:其他问题与断点不是HIT 相关。 I can't even insert breakpoints into JS to begin with.
我什至不能开始在 JS 中插入断点。 The option is not in the context menu in Visual Studio.
该选项不在 Visual Studio 的上下文菜单中。
edit 2: Even if I create a brand new JS file (since this project was created in VS2015) I still can't insert a breakpoint.编辑2:即使我创建了一个全新的JS文件(因为这个项目是在VS2015中创建的)我仍然无法插入断点。 The option just isn't listed in the context menu.
该选项未在上下文菜单中列出。
I test it using a simple JavaScript app in VS2015 and VS2017 Enterprise version.我在 VS2015 和 VS2017 企业版中使用一个简单的 JavaScript 应用程序对其进行了测试。
It really has this menu item in VS2015, but not in VS2017:它在 VS2015 中确实有这个菜单项,但在 VS2017 中没有:
One workaround is that just as Jimmy's suggestion, use the F9 or add it in A with mouse in above screen shot.一种解决方法是,正如 Jimmy 的建议,使用 F9 或在上面的屏幕截图中使用鼠标将其添加到 A 中。
Other community members also submitted this feedback to the product team here:其他社区成员也在此处向产品团队提交了此反馈:
https://developercommunity.visualstudio.com/content/problem/25474/right-click-add-breakpoint-option-not-in-list.html https://developercommunity.visualstudio.com/content/problem/25474/right-click-add-breakpoint-option-not-in-list.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.