如何在Microsoft Edge(Chromium)浏览器中保存浏览器控制台日志
我有一个主页,该页面正在调用弹出页面。我已经在OnBeForeunload事件中编写了控制台日志,该事件将在关闭弹出窗口时称为。我希望这些日志研究一个问题。当我调试JS时,这个问题是不可再现的。因此,我想要在关闭弹出窗口时编写的控制台日志而无需调试。但是,当我关闭弹出窗口时,弹出窗口会消失。我还从开发人员工具>控制台>设置部分。但这并没有解决我的问题。选择此选项后,我也无法查看任何日志。 请帮助我解决这个问题。
I have one main page which is calling a popup page. I have written console logs in onbeforeunload event which will be called when I will close the popup window. I want these logs to investigate one issue. The issue is not reproducible when I am debugging the the JS. So I want console logs written at the time of closing the popup window without debugging. But when I am closing the popup window the logs are getting disappeared with the popup window. I have also checked the preserve log checkbox from the Developer tool> Console> Setting section. But it didn't solve my issue. I am unable to view any logs even after selecting this option.
Kindly help me to solve this issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论