google-chrome-devtools - 远程设备面板发生了什么变化?

标签 google-chrome-devtools

我正在运行 Chrome 80,在准备进行移动调试时,我观察到以下情况:

Remote Devices

该面板已迁移到其自己的选项卡,其功能已更改。我查了 changelog但没有提到这个变化。此更改删除的功能之一是将设备尺寸和属性导入“模拟设备”面板的方法。

有什么地方可以阅读这种变化及其推理吗?即使是拉取请求,我也会很高兴。

最佳答案

源代码是最好的文档,因此找出答案的一种方法是查找此字符串:
https://cs.chromium.org/search/?q=%22this+panel+has+been+deprecated+in+favor+of+the%22&sq=package:chromium&type=cs

当您查看文件/src/third_party/devtools-frontend/src/front_end/devices/DevicesView.js 的历史记录时,有这个最近的提交 6239c24: "Remove "Remote Devices" panel" :
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1909383

附上以下文件:
https://docs.google.com/document/d/14qasCOYYELcWtAp-y6N147Mvjv7eWmRsx1hFCB2M6w8/edit

DevTools has the "Remote Devices" tab which allows you to inspect devices like smartphones via technology like ADB. This functionality implements a subset of the features in chrome://inspect/#devices. To remove duplication and confusion for developers ("Which of the two tools should I use?", "Why does this panel not have all features? Oh I should have used the other one", and for devrel folks writing articles: "Which tool should I reference in my guide"?), we should remove the "Remote Devices" panel.



所以也许不是你所期望的,但似乎没有更多了。每次重写都有其丢失的功能。

关于google-chrome-devtools - 远程设备面板发生了什么变化?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60231562/

相关文章:

html - 从 Devtools 本地保存 html

google-chrome-devtools - Chrome 版本 32.0.1700.76 m 如何使用 Devtools 搜索源文件

javascript - jQuery 的响应文本的 AJAX 内存泄漏?

javascript - Backbone - 从触发器调用的 Chrome 调试函数

google-chrome - 有没有办法在网络选项卡中默认设置过滤器值 - Google Chrome 开发者工具

javascript - 轻松查看什么 javascript 代码称为 Web 服务

javascript - 将数值与对象相加

google-chrome - 如何从 Google Chrome 开发者工具的“源”选项卡中保存整个文件夹?

google-chrome - Chrome 开发者工具将断点放置在错误的位置

javascript - 从网站上屏幕抓取数据