Open Bug 956871 (dbg-remote) Opened 6 years ago Updated 3 months ago

[meta] Remote debugging

Categories

(DevTools :: about:debugging, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: fitzgen, Unassigned)

References

(Depends on 15 open bugs, Blocks 1 open bug)

Details

(Keywords: meta)

Right now (for example, Metro): https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Firefox_for_Metro

The process involves manually restarting the browser, flipping prefs, etc. It is a pain for our users[0].

We should streamline the process.

[0] https://twitter.com/pornelski/status/418105982976557056
A few thoughts, probably for their own bugs:

a) Might be able to turn on unix domain socket debugging by default on android, and avoid a pref change there.
b) adbjs!
c) App manager on android would help a lot here, better than mucking with the connect page.
d) Maybe we should just turn on the connect page by default rather than hiding it behind a (restart-required!) pref until app manager does android.
e) Wifi/bonjour support?
Depends on: 956878
(In reply to Dave Camp (:dcamp) from comment #1)
> c) App manager on android would help a lot here, better than mucking with
> the connect page.

That would be awesome. Awesome to the max.

http://static1.wikia.nocookie.net/__cb20090909220405/en.futurama/images/8/8b/ThatGuy.jpg

> d) Maybe we should just turn on the connect page by default rather than
> hiding it behind a (restart-required!) pref until app manager does android.

Or we could just add a pref observer.
Depends on: 929382
Depends on: 956881
Depends on: 956882
(In reply to Nick Fitzgerald [:fitzgen] from comment #3)
> Or we could just add a pref observer.

Filed bug 956881
We're working on this already: bug 942756 and bug 912900.
(In reply to Dave Camp (:dcamp) from comment #1)
> A few thoughts, probably for their own bugs:
> 
> a) Might be able to turn on unix domain socket debugging by default on
> android, and avoid a pref change there.

Why do we want unix domain socket for android?

> b) adbjs!

libadb.js,

We're working on this too: https://github.com/mozilla/libadb.js

It's almost working as an addon. Once it's stabilized, we'll see if/how we can integrate it in Firefox Desktop.

> c) App manager on android would help a lot here, better than mucking with
> the connect page.

bug 912900

> d) Maybe we should just turn on the connect page by default rather than
> hiding it behind a (restart-required!) pref until app manager does android.

it will be turned on by default in bug 942756.

> e) Wifi/bonjour support?

Later :)
(In reply to Paul Rouget [:paul] from comment #6)
> (In reply to Dave Camp (:dcamp) from comment #1)
> > a) Might be able to turn on unix domain socket debugging by default on
> > android, and avoid a pref change there.
> 
> Why do we want unix domain socket for android?

For both security (can't bind to a public network interface by accident or malice) and consistency with Firefox OS (bug 916777).
Depends on: 912900, 942756, 957164
Summary: remote debugging should be more usable / streamlined → [meta] remote debugging user experience is terrible
Depends on: 944411
Priority: -- → P5
Depends on: wifi-rdp
Alias: remote-debug-ux
Depends on: 982890
Depends on: 982281
Depends on: 1013379
Alias: remote-debug-ux → dbg-browser-ux
Blocks: dbg-browser
Summary: [meta] remote debugging user experience is terrible → [meta] Remote debugging user experience is terrible
Depends on: 1109741
We already have a meta bug for remote debugging (bug 1070868) so we don't really need a separate meta bug for the UX part. I've moved the dependencies of this bug to bug 1070868 and will mark it as resolved.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
These issues were really about "remote debugging" not just "browser debugging".

As discussed on IRC, I will open a new bug to keep tracking them.
Actually, it's just easier to revive this.
Alias: dbg-browser-ux → dbg-remote
Status: RESOLVED → REOPENED
Component: Developer Tools: Debugger → Developer Tools: WebIDE
Keywords: meta
OS: Mac OS X → All
Hardware: x86 → All
Resolution: INVALID → ---
Summary: [meta] Remote debugging user experience is terrible → [meta] Remote debugging
Depends on: 1309967
We intend to move remote debugging into about:debugging (bug 1212802) and then remove WebIDE (bug 1314811), so let's track remote debugging improvements under about:debugging from now on.
Status: REOPENED → NEW
Component: Developer Tools: WebIDE → Developer Tools: about:debugging
Priority: P5 → P3
Depends on: 1212802
Depends on: 916700
Depends on: 927060
Depends on: dbg-fennec
Depends on: 1090247
Depends on: 1142741
Depends on: 1102326
Depends on: 1333527
Depends on: 1211099
Depends on: 1106848
Depends on: 1089914
Depends on: 1075175
Depends on: 1114380
Depends on: 1351533
Depends on: 1046701
Depends on: 1031229
Depends on: 1085393
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.