-
Notifications
You must be signed in to change notification settings - Fork 376
feat: Added --firefox-debugger-socket option #3586
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
base: master
Are you sure you want to change the base?
Conversation
|
Could you elaborate when this would be needed, and how we can test it? The current logic matches Firefox's logic that is used at |
|
Yes. The problem is that new version of Android don't have an access to The socket usually looks like this |
|
You linked to a restriction for apps in Android 10. I have tested various Android versions on different Pixel devices without issues. Which phone are you using? |
|
I think I figured it out. Some of my phones (running Android 10+) have access to |
|
If you have a root shell you can fix up your permissions yourself. For example, here is a (random) other project where a similar access issue was encountered, and a user shared explicit steps to fix it up temporarily: mpotthoff/vscode-android-webview-debug#4 (comment) |
|
For sure, you can change the permissions, but doing this just to test a web extension is not really handy, especially if you rely on |
|
Allowing users to specify a custom debugging socket is a footgun, because it would result in an attempt to connect to the wrong app. We'd be willing to consider a safe patch that just falls back to trying to detect the presence of the abstract socket by its well-known name if To enable the use of |
This allows connecting to Firefox on Android devices without access to
/proc/net/unix, bypassing automatic socket discovery.