远程调试" Chrome Mobile"到" PC"

时间:2014-08-02 21:32:30

标签: google-chrome debugging mobile google-chrome-devtools

我想在我的“chrome pc / machine”上检查和调试Chrome Mobile应用程序, 所以我跟着[这](http:// eveloper.chrome.com/devtools/docs/remote-debugging-legacy )谷歌教程。

当我访问localhost:9222时,它列出了我的android chrome上打开的正确网站。 但是当我点击“Inspectable pages”时出现以下错误。控制台显示消息

Document was loaded from Application Cache with manifest https://chrome-devtools-frontend.appspot.com/serve_rev/@178678/178678.manifest
Application Cache Checking event

[blocked] The page at 'https://chrome-devtools-frontend.appspot.com/serve_rev/@178678/devtools.html?ws=localhost:9222/devtools/page/0' was loaded over HTTPS, but ran insecure content from 'ws://<localhost>:9222/devtools/page/0': this content should also be loaded over HTTPS.

Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.

1 个答案:

答案 0 :(得分:0)

我也遇到了这个问题。

根据此报告Chromium Issue 398817,您可以在启动Chrome时添加--allow-running-insecure-content。

这适用于Windows 7。

相关问题