Closed Bug 989234 Opened 6 years ago Closed 5 years ago
[Tarako] Enable remote debug directly with APP Manager when USB plug-in
Regarding monkey test, tarako hit device hang issue. Partner would like to use APP Manager to do remote debugging. However, there is no any response on screen touching. There is no way for developer to click OK, then starting debugging. Could we simply send "RemoteDebugger._dispatchEvent(true);" if App Manager try to connect to device, but not showing confirmation dialog (see attachment)?
Hi Fabrice: Could you please have a look of this request? Thanks!! Shawn
No we can't do that unconditionally. That would need to be behind a pref at least because there are security implications doing that.
(In reply to Fabrice Desré [:fabrice] from comment #2) > No we can't do that unconditionally. That would need to be behind a pref at > least because there are security implications doing that. Please give me a WIP patch for engineer debug only.
blocking-b2g: --- → 1.3T?
James, untested patch, but that should work if you set the preference in your device specific pref file!
Yang, please test and land this WIP patch on userdebug build.
(In reply to Fabrice Desré [:fabrice] from comment #4) > Created attachment 8398884 [details] [diff] [review] > bypass-dbg-prompt.patch > > James, untested patch, but that should work if you set the preference in > your device specific pref file! I applied this patch ,it doesn't work.And I find that there is no "debugger.bypass_prompt" in /data/b2g/mozilla/*.default/prefs.js So I'm trying to change it with devtools.debugger.remote-enabled to see whether it is ok.
also need this patch.
Shawn, can we move this patch to device/sprd? I can use userdebug/user value to configure.
(In reply to James Zhang from comment #8) > Shawn, can we move this patch to device/sprd? I can use userdebug/user value > to configure. Yep, that's what I recommended in comment 4
triage: this is not blocking for commercial release since yang.zhao is working on this, assign to yang.zhao and mark POVB Thanks
Assignee: nobody → yang.zhao
blocking-b2g: 1.3T? → -
Component: General → Developer Tools
If you still need a way to bypass the remote debugging prompt, I suggest you set the pref "devtools.debugger.prompt-connection" to false. This was implemented in bug 900500 and should work with Firefox OS 1.2 and later versions. Please re-open this bug if you find that your problem was not resolved.
Status: NEW → RESOLVED
Closed: 5 years ago
OS: Linux → All
Hardware: x86_64 → All
Resolution: --- → DUPLICATE
Duplicate of bug: 900500
You need to log in before you can comment on or make changes to this bug.