检查一下:edge://inspect/\#devices ---------\> Discover network targets [Configure…] --------\> Target discovery settings是否添加了 localhost:9222。hdc fport tcp:9222 localabstract:webview\_devtools\_remote\_3458// 这行命令的作用是开启端口映射,将手机上的的webview调试端口映射到电脑的localhost:9222端口。
检查一下:edge://inspect/\#devices ---------\> Discover network targets [Configure…] --------\> Target discovery settings是否添加了 localhost:9222。
hdc fport tcp:9222 localabstract:webview\_devtools\_remote\_3458// 这行命令的作用是开启端口映射,将手机上的的webview调试端口映射到电脑的localhost:9222端口。