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

Add Chrome direct debug support (without requiring to install ADB) #10

Open
gunta opened this issue Jul 13, 2015 · 4 comments
Open

Add Chrome direct debug support (without requiring to install ADB) #10

gunta opened this issue Jul 13, 2015 · 4 comments

Comments

@gunta
Copy link
Member

gunta commented Jul 13, 2015

I submitted a ticket here 1 year ago, but current status is WontFix because "We are experimenting with alternative ways of implementing wireless debugging".

As long as there is any update on this, we need to update this ticket.

@paulirish
Copy link

Not sure if this is related yet.... (and will fork to separate issue if neccessary).

I'd love to see a better integration with Remote Debugging.

The ideal might be something like this:

  • For the attached device, you have a listing of the open tabs under the input field to launch a new one.
  • You have an inspect button for them, clicking them opens devtools, probably embedded into STF instead of a separate window. So I still get the minicap + interaction of stf but with the full devtools over debugger protocol

about:inspect isn't very hackable however @auchenberg knows of some work that can access the same data.
(edit: ah he's using adbkit in adb-devtools-devices :)

And I think it may be possible to them do a iframe pointing to chrome-devtools://devtools/bundled/inspector.html?ws=localhost:2015

@gunta
Copy link
Member Author

gunta commented Jul 15, 2015

@paulirish
That sounds good.

For the attached device, you have a listing of the open tabs under the input field to launch a new one.

I'm a bit unsure about this one, listing all the tabs open in a device might make it browser-dependent (unless we can make tab listing work even on default browsers).

You have an inspect button for them, clicking them opens devtools, probably embedded into STF instead of a separate window. So I still get the minicap + interaction of stf but with the full devtools over debugger protocol

Does this kind of interaction would be possible without requiring the security permissions of a Chrome extension?

@paulirish
Copy link

might make it browser-dependent

Aye, I think it'd work where there's support. I'm not totally clear on the remote debugging story for Chromium forks, but one would imagine it'd be similar. :)

Does this kind of interaction would be possible without requiring the security permissions of a Chrome extension?

It doesn't sound impossible to me yet, but let me confirm these ideas with some engineers on my team first. :) We'll find out how far my ideal is from reality.

@auchenberg
Copy link

Pitching in here: I've written a little node module that findes devtools targets on a given device via ADB, and setups for the port forwarding, and lists the available remote debuggable tabs. It's early days, but you can see the flow here https://github.com/auchenberg/adb-devtools-devices

It's basically what chrome://inspectdoes for Android devices.

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

No branches or pull requests

3 participants