Good job! Can't wait to try it. That will definitely change all FFOS developers 
lives for good :)

Sergi

On Friday, August 2, 2013 9:04:27 AM UTC+2, ARNAU MARCH CASTILLO wrote:
> Thats awesome! Looking forward to see the Doom inspector, that will change my 
> life :)
> 
> 
> 
> Arnau
> 
> 
> 
> On Aug 2, 2013, at 12:50 AM, Alexandre poirot <[email protected]>
> 
>  wrote:
> 
> 
> 
> > Hi,
> 
> >
> 
> > We recently landed a patch to enable devtools against apps running on
> 
> > devices
> 
> > [bug 817580]. That patch enables you to connect to your device from a
> 
> > Firefox desktop,
> 
> > and have a console, a javascript debugger and a live style editor plugged
> 
> > to your app.
> 
> > (And soon a DOM inspector)
> 
> >
> 
> > Unfortunately, we had to pref this feature off due to security reason. [bug
> 
> > 832000]
> 
> > We can't enable that, yet, on production devices.
> 
> > In order to mitigate that, we landed some tweaks in gaia to enable
> 
> > a "developer mode for devices". This mode should only be set on testing
> 
> > devices as it toggle unsafe preferences that are meant to ease developers
> 
> > life.
> 
> >
> 
> > So, if you checkout today's gecko and gaia master, and if you update gaia
> 
> > with
> 
> > the following command:
> 
> >
> 
> >  $ DEVICE_DEBUG=1 make reset-gaia
> 
> >
> 
> > Your phone will be set in this developer mode.
> 
> > Then, you will have to install the following addon in Firefox Desktop.
> 
> > This addon is a prototype, we are currently working on providing the same
> 
> > features
> 
> > builtin into Firefox.
> 
> >
> 
> > The addon:
> 
> >  https://bugzilla.mozilla.org/attachment.cgi?id=770957
> 
> >
> 
> > Once this addon is installed, open the following URL:
> 
> >  chrome://browser/content/devtools/connect.xhtml
> 
> > And follow instructions displayed on this page. The only mandatory action
> 
> > item,
> 
> > thanks to the developer mode, is to run `adb forward tcp:6000 tcp:6000` each
> 
> > time you plug/reboot your device.
> 
> >
> 
> > This is only the first step, we have multiple iterations already planed.
> 
> > The two big ones are: providing the DOM inspector and shipping an app and
> 
> > device
> 
> > manager builtin into firefox. We also hope to simplify the adb story by
> 
> > reimplementing the core feature we need from adb in javascript.
> 
> > (that would prevent requiring to install the android SDK and its
> 
> > dependencies!)
> 
> >
> 
> > Happy debugging!
> 
> > _______________________________________________
> 
> > dev-gaia mailing list
> 
> > [email protected]
> 
> > https://lists.mozilla.org/listinfo/dev-gaia
> 
> 
> 
> 
> 
> ________________________________
> 
> 
> 
> Este mensaje se dirige exclusivamente a su destinatario. Puede consultar 
> nuestra política de envío y recepción de correo electrónico en el enlace 
> situado más abajo.
> 
> This message is intended exclusively for its addressee. We only send and 
> receive email on the basis of the terms set out at:
> 
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx

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

Reply via email to