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?
An inspector window should open, enabling you to remotely debug the Web Receiver app. The device IP address can be found by selecting the device in the Google Home app, going to settings, and looking under the Information section. Select the session you would like to debug by clicking its Remote Debugging link.
On your development machine, open Chrome. Go to chrome://inspect#devices . Make sure that the Discover USB devices checkbox is enabled. Connect your Android device directly to your development machine using a USB cable.
Go to the following URL in Chrome browser: chrome://inspect/#devices: You will see your Chromecast device and inspect action it below the URL. Click on inspect to debug your receiver application. A Chrome's browser window should open showing the Chromecast Receiver's application.
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
I don't think Chrome accepts connections from outside of localhost (for security reasons). I would suggest you have to build small proxy on the same host where Chrome is.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With