调试断点在Edge浏览器中不起作用(asp.net核心项目) [英] Debug breakpoint not working in Edge browser (asp.net core project)

查看:1452
本文介绍了调试断点在Edge浏览器中不起作用(asp.net核心项目)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我正在尝试使用Edge从VS 2017 15.4.0调试客户端javascript。


注意:我正在使用Microsoft EdgeHTML 16.16299 - Windows 10 Build 16299.15(预览版本)


我创建了一个带有一些测试客户端js的aspnet核心2.0项目。


从项目的属性页面,配置启动URL以导航到一个html,它将命中测试js文件。


如果我使用IE或Chrome作为浏览器,请点击F5将达到我在js文件中设置的断点,然后我可以单步执行。


完全相同的环境,切换到Edge将不会达到断点。


请帮忙!我已经花了好几天没有成功。





解决方案

嗨PureLight,


感谢您发帖。


这是VS2017中的一个限制,用户语音已经提交:




Hello,

I am trying to debug the client-side javascript using Edge from VS 2017 15.4.0.

Note: I am using Microsoft EdgeHTML 16.16299 - Windows 10 Build 16299.15 (preview build)

I created an aspnet core 2.0 project with some test client-side js.

From the project's property page, configured the startup url to navigate to an html which will hit the test js file.

If I use IE or Chrome as the browser, hitting F5 will hit the breakpoint I set in the js file, and I can single-step then.

Exactly the same environment above, switching to Edge won't hit the breakpoint.

Please help! I've been spending several days on this w/o any success.

解决方案

Hi PureLight,

Thanks for you posting.

It's really a limitation in VS2017, the user voice has been submitted:

https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/9115072-support-javascript-debugging-for-microsoft-edge

It seems VS developing team still hasn't made Edge fully supported yet, you could also go to Help-> Send Feedback -> Provide a suggestion to report this issue to VS developing team directly:

Thanks for your findings again.

Your understanding and cooperation will be grateful.

 

Best regards,

Fletcher


这篇关于调试断点在Edge浏览器中不起作用(asp.net核心项目)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆