auchenberg / auchenberg/chrome-devtools-app

Detect chrome remote debug targets over ADB like chrome://inspect

Open
#37 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.6k
Forks
91
PR merge metrics
No merged PRs in 30d

Description

By browsing the [Stetho](https://github.com/facebook/stetho/) source code, it seems like `chrome://inspect` is using Unix sockets to discover remote debug endpoints on the network.

At least Stetho opening a socket on `stetho_PROCESSNAME_devtools_remote`, which seem to be the convention used by `chrome://inspect`, so it should be possible to emulate this behavior by simply probing on sockets with the suffix `_devtools_remote`.

Link: https://github.com/facebook/stetho/blob/master/stetho/src/main/java/com/facebook/stetho/server/LocalSocketHttpServer.java

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked Stetho LocalSocketHttpServer.java file to understand the socket naming convention described in the issue. Then inspect this repository's existing remote-debug-target discovery entry points; the issue does not name a file or test. Done means discovering ADB socket targets with the _devtools_remote suffix, as chrome://inspect does.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.