Last Updated: September 09, 2019
·
6.403K
· patrick91

Chrome Truly Remote Debugging

Here is a simple tip on how to use Chrome's remote debugging feature from another pc using a simple ssh tunnel.

First start Chrome with remote debugging enabled (this is for OS X):

$ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome\ Canary --remote-debugging-port=9222

Then start the ssh tunnel:

ssh -L 0.0.0.0:9223:localhost:9222 localhost -N

And done! Now you can access the remote debugging feature from another computer just using the ip of the computer where the remote debugging is active. Like http://192.168.1.42:9223

1 Response
Add your response

Perfect. This was helpful.

over 1 year ago ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside