Code Monkey home page Code Monkey logo

Comments (4)

auchenberg avatar auchenberg commented on August 18, 2024 2

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.

from stf.

paulirish avatar paulirish commented on August 18, 2024

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

from stf.

gunta avatar gunta commented on August 18, 2024

@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?

from stf.

paulirish avatar paulirish commented on August 18, 2024

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.

from stf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.