如何配置远程访问--remote-debugging模式下的chrome?
I'm trying to remote debugg a chrome instance using the remote debug option in chrome:
chrome.exe --remote-debugging-port=1337
as described on google page: http://code.google.com/chrome/devtools/docs/remote-debugging.html
the problem is when i try to access it using IP it doesn't work, while testing it with localhost:1337 does work.
any idea?
You can setup an SSH tunnel in order to debug remotely. On the source machine execute:
ssh -L 0.0.0.0:9223:localhost:9222 localhost -N
Then on the other machine point Chrome browser to http://source-machine-ip:9223<

本文介绍了如何在Chrome的remote-debugging模式下,通过SSH隧道解决不能使用IP访问的问题。提到了Chrome可能出于安全原因只接受localhost连接,并提供了建立SSH隧道的解决方案,以及SSH命令的正向代理(-L)、反向代理(-R)和SOCKS5代理(-D)的用法和应用场景。
最低0.47元/天 解锁文章
5712

被折叠的 条评论
为什么被折叠?



