Chrome remote debugging doesn't work with IP

前端 未结 7 836
长发绾君心
长发绾君心 2020-12-04 16:54

I\'m trying to remote debugg a chrome instance using the remote debug option in chrome:

chrome.exe --remote-debugging-port=1337

as describe

7条回答
  •  遥遥无期
    2020-12-04 17:32

    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

提交回复
热议问题