最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to access and search code in debugger:VM* files in Google Chrome Devtools - Stack Overflow

programmeradmin0浏览0评论

I want to debug scripts which are not loaded via files, meaning they loaded via eval or Native code pushed to the browser from iOS/Android.

when I write in the DevTools console (function() {debugger}()) the browser create fake file like debugger:///VM132 and you can see it in the debugger breakpoint.

I usually has lots of debugger:///VM*** "files" code but I can't access them and can't see the list of debugger:///VM script anywhere in the DevTools. the Sources panel also not showing any of those.

In addition, I use DevTools search CMD+option+F and is not searching inside debugger:///VM files.

How can I find those sources?

I want to debug scripts which are not loaded via files, meaning they loaded via eval or Native code pushed to the browser from iOS/Android.

when I write in the DevTools console (function() {debugger}()) the browser create fake file like debugger:///VM132 and you can see it in the debugger breakpoint.

I usually has lots of debugger:///VM*** "files" code but I can't access them and can't see the list of debugger:///VM script anywhere in the DevTools. the Sources panel also not showing any of those.

In addition, I use DevTools search CMD+option+F and is not searching inside debugger:///VM files.

How can I find those sources?

Share Improve this question edited Jul 22, 2019 at 9:26 Nisim Joseph asked Jul 22, 2019 at 7:29 Nisim JosephNisim Joseph 2,5301 gold badge24 silver badges31 bronze badges 0
Add a ment  | 

1 Answer 1

Reset to default 8

I notice the option in DevTools Settings under Sources -> Search in anonymous and content scripts. I get all console scripts, debugger conditional breakpoints, and injected scripts from Native App to JS.

发布评论

评论列表(0)

  1. 暂无评论