Closed Bug 818884 Opened 13 years ago Closed 13 years ago

Can't remote debug B2G (desktop and on device)

Categories

(DevTools :: Debugger, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rik, Assigned: past)

References

Details

(Whiteboard: [b2g])

I have port 6000 forwarded and can connect to it via telnet but can't use the remote debugger with today's nightly.
Assignee: nobody → past
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [b2g]
I can't investigate this because I'm blocked currently by bug 818834.
Depends on: 818834
If you are building your own gaia, you can create a gaia/build/custom-prefs.js file with following content in order to enable remote debugger pref: user_pref("devtools.debugger.remote-enabled", true);
I've tried that, but the socket still doesn't open. Since bug 815522 removed the debugger start on ContentStart, I'm not sure if it's not starting because I haven't toggled the setting or because of something else.
Depends on: 818056
No longer depends on: 818834
Retested today on a Nexus S on the master branch and now the debugger works for me again. Can you confirm that it works for you, too?
It does work if you go to developer settings. But it won't if you toggle the pref in build/custom-prefs.js. Which is way more handy than going into this hidden menu and allows tooling to use the remote debugger. I've identified the issue, it comes from bug 815522. We no longer try to run the debugger on startup when the pref is set.
Hmm, I see this too, but I think I tested that scenario when reviewing that patch. Fabrice, do you remember whether rebooting the phone with the debugger enabled would result in the debugger not coming back up? If so, what was the rationale behind it? In any case, I'd be reluctant to change this behavior now with what we went through in bug 800138, unless Jonathan can test it first.
If you are not condifent, we can address that issue through bug 820803 I just opened. It will be most likely usefull for other usages too.
Depends on: 820803
I think we can consider this as being fixed. We can either toggle remote debugger in settings app or by creating gaia/build/custom-settings.json file with following content: { "devtools.debugger.remote-enabled": true }
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.