是否可以在 devtools 或 inspectedwindows 中访问 Web 串行端口?

Is possible to access web serial port in devtools or inspectedwindows?

我正在尝试找到一种在 devtools 中连接 USB 串行端口的方法,以便我可以在 devtools 中使用来自 USB 连接设备的数据。

Web Serial API 允许网站与串行设备通信。参见 https://web.dev/serial/

它在 Chrome 扩展的上下文中对您来说是否失败?如果有,在哪里?