无法连接到localhost:9222的问题通常与Chrome浏览器的远程调试设置有关。 当你遇到“cannot connect to the target at localhost:9222”的错误时,这通常意味着你尝试连接到Chrome浏览器的远程调试端口9222时失败了。以下是一些可能的解决步骤: 确保Chrome浏览器已启用远程调试: 你需要在Chrome浏览器启动时添加--remote-...
First thing to test that I have a different behavior when I tested locally: Open a chrome passing these parameters: "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 Then open any URL like: www.microsoft.com Then in another tab open http://localhost:9222...