简体   繁体   English

使用 Chrome 开发者工具调试资源脚本

[英]Debug Resource Scripts with Chrome Developer Tool

I found the script file inside the Resources tab and not inside the Script tab and hence, when I search for the particular function inside Script's tab, it doesn't return result as shown at How to search all loaded scripts in Chrome Developer Tools?我在“资源”选项卡中找到了脚本文件,而不是在“脚本”选项卡中,因此,当我在“脚本”选项卡中搜索特定的 function 时,它不会返回结果,如如何在 Chrome 开发人员工具中搜索所有加载的脚本?

I want to debug the Resource script file with Chrome Developer Tool, how will I be able to do that.我想用 Chrome 开发者工具调试资源脚本文件,我将如何做到这一点。

Unfortunately, you can't debug a script in the Resources tab, so you have to locate the script by name in the Scripts tab.不幸的是,您无法在“资源”选项卡中调试脚本,因此您必须在“脚本”选项卡中按名称定位脚本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM