Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium Remote Debugging #70

Open
borderBite opened this issue May 20, 2021 · 2 comments
Open

Chromium Remote Debugging #70

borderBite opened this issue May 20, 2021 · 2 comments

Comments

@borderBite
Copy link

Has anyone gotten chromium remote debugging to work? I haven't had any luck.

I'm using an rpi3 device
The port debug is open and exposed publicly on the device:
image
I can successfully connect to the other container on 8080.

Not sure what else I could be missing.

@phil-d-wilson
Copy link
Contributor

@nslocum I have used it during testing, so I know it did once work. I'll run it up again tomorrow and let you know if and how I did it.

Thanks for reaching out, it prompts me to document how to use it. 😊

@ebradbury
Copy link

ebradbury commented Feb 12, 2023

I solved this by setting up an SSH tunnel on my local machine: ssh -p 22222 -L 35173:localhost:35173 <balena user>@<device ip>. You can get your username with balena whoami. You have to run the browser container with network_mode: host.

Then add localhost:35173 to chrome://inspect/#devices and you should be able to inspect/control the browser tabs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants