chrome://inspect/#devices
打开一个 devtools 窗口,但大约在它完成绘制自身的时候,它关闭了。没有错误信息
我正在尝试调试网站,而不是 native 应用程序。任何想法为什么它会打开并取笑我,然后在鼠标靠近窗口时关闭?
更多有趣的细节。它适用于其他选项卡,如果我使用其中一个正在工作的选项卡并粘贴到我的 URL 中,它会关闭 devtools
最佳答案
如 docs 中所述,您的桌面 Chrome 必须比您的 Android Chrome 更新:
Note: Remote debugging requires your version of desktop Chrome to be newer than the version of Chrome for Android on your device. For best results, use Chrome Canary (Mac/Windows) or the Chrome Dev channel release (Linux) on desktop.
例如,您可能会在计算机上安装 Chrome Canary/unstable 或 Chrome Beta。通过使用它,我的检查员开始按预期工作。目前,我的 Chrome Beta 是 v50,而 Android Chrome 是 v49。
关于google-chrome-devtools - 在 Android 设备上调试网站时 Chrome Devtools 关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28528680/