Julien, I'm interested in your hack to enable the remote debugging. Could
you share? ;)

I want to enable it in my emulator!


2013/9/11 Julien Wajsberg <[email protected]>

> Le 11/09/2013 12:25, Dave Hylands a écrit :
> > My solution is that I put the following in my .userconfig
> >
> > GAIA_PATH=${GAIA_PATH:-$(cd gaia; pwd)}
> > CUSTOM_SETTINGS="${GAIA_PATH}/build/custom-settings.json"
> > cat > "${CUSTOM_SETTINGS}.new" <<EOF
> > {"devtools.debugger.remote-enabled": true,
> >  "keyboard.ftu.enabled": false,
> >  "lockscreen.enabled": false,
> >  "phone.ring.keypad": false,
> >  "bootshutdown.sound.enabled": false}
> > EOF
> > if [ -f ${CUSTOM_SETTINGS} ] && cmp "${CUSTOM_SETTINGS}"
> "${CUSTOM_SETTINGS}.new" >& /dev/null; then
> >   rm "${CUSTOM_SETTINGS}.new"
> > else
> >   mv "${CUSTOM_SETTINGS}.new" "${CUSTOM_SETTINGS}"
> > fi
> >
> > and this tweaks a bunch of stuff for all of my builds without having to
> modify any source code.
> >
>
> But I don't think this disables the adb timer for example.
>
> I would be happy if we'd have a pref to do the same as my hacky patch,
> so that we would just put this in our build/custom-prefs.js :)
>
> --
> Julien
>
>
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>
>


-- 
Caio Lima
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to