是否可以在 Chrome 调试器中将所有 VM 脚本黑箱化? [英] Is it possible to blackbox all VM scripts in chrome debugger?

查看:27
本文介绍了是否可以在 Chrome 调试器中将所有 VM 脚本黑箱化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 angular 应用程序中调试一个相当复杂的模块.我在特定方法的开始处设置了一个断点,希望我可以跟进它并查看它在哪里给我返回错误.但是,它不断让我进入 VM 脚本(VM28337、VM30559 等).我可以假设这些都可以正常工作,所以我没有兴趣看到它们.

I'm trying to debug quite a complicated module in my angular app. I've set a break point at the start of a particular method hoping I could follow it through and see where it's giving me back an error. However, it keeps bringing me into the VM scripts (VM28337, VM30559, etc). I can assume these all work as they should, so I have no interest in seeing them.

我知道我可以在 Chrome 调试器中对某些脚本进行黑箱处理,但这些 VM 脚本的数量似乎无穷无尽.有没有人对如何规避这些脚本有任何建议?

I know I can blackbox certain scripts in chrome debugger, but there seems to be an endless amount of these VM scripts. Does anyone have any suggestions on how to circumvent these scripts?

推荐答案

目前在任何版本的 Chrome 中似乎都无法实现.但是,我创建了一个 Chromium 错误以请求添加它:Chromium Issue 526239

This doesn't appear to be possible in any version of Chrome at the moment. However, I create a Chromium bug to request it get added: Chromium Issue 526239

这篇关于是否可以在 Chrome 调试器中将所有 VM 脚本黑箱化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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