[英]chrome dev tools: find which script fired JS event/error
the chrome dev tool gives me a error. chrome开发工具给我一个错误。 actually i'm trying to get an http ressource from an https webpage :
实际上,我正在尝试从https网页获取http资源:
i don't know where these files are called to change the target. 我不知道在哪里调用这些文件来更改目标。 i guess we can know with the chrome dev tool but can't find how.
我想我们可以使用chrome dev工具知道,但找不到方法。 i would like to know which file is firing the call, which line... (if i get only the filename, it's fine)
我想知道哪个文件触发了呼叫,哪一行...(如果我只得到文件名,那很好)
someone can help ? 有人可以帮忙吗?
The blue box in the picture below represents the link to the exact line that caused the error. 下图中的蓝色框表示导致错误的确切行的链接。 The format is
filename:XX
, where filename
is the name of the file where the script originated, and XX
is the line of code within that file. 格式为
filename:XX
,其中filename
是脚本起源的文件名,而XX
是该文件中的代码行。
Click the link to see that line of code in the Sources panel. 单击链接以在“ 源”面板中查看该行代码。 If the file is minified, click the Format button to pretty-print it.
如果文件较小, 请单击“ 格式”按钮进行漂亮打印。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.