首页 文章

远程调试“Chrome Mobile”到“PC”

提问于
浏览
1

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

当我访问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

    我也遇到过这个问题 .

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

    这在Windows 7上对我有用 .

相关问题