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)
DevTools
Debugger
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 | ||
Updated•13 years ago
|
Assignee: nobody → past
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [b2g]
Assignee | ||
Comment 1•13 years ago
|
||
I can't investigate this because I'm blocked currently by bug 818834.
Depends on: 818834
Comment 2•13 years ago
|
||
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);
Assignee | ||
Comment 3•13 years ago
|
||
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.
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Comment 4•13 years ago
|
||
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?
Comment 5•13 years ago
|
||
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.
Assignee | ||
Comment 6•13 years ago
|
||
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.
Comment 7•13 years ago
|
||
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.
Comment 8•13 years ago
|
||
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
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•