On Sun, Oct 7, 2012 at 5:55 PM, Panos Astithas <p...@mozilla.com> wrote:
> Hi folks,
> I just wanted to mention that the Firefox debugger is now able to debug
> Firefox OS. I posted a few quick instructions on setting it up in my blog
> and I know that proper MDN documentation will follow shortly:
>
> http://blog.astithas.com/2012/10/debugging-firefox-os.html
>
> The next step is getting the web console to work with Firefox OS which
> should be real soon now:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=795691

Thanks to Mihai's heroic efforts, this is now in mozilla-central, so
you can use the menu item 'Remote Web Console' to connect to B2G and
see errors/warnings, inspect objects and evaluate expressions. When
you connect, there are two options presented, the global console and a
console that corresponds to the main process (with an empty title,
which will be fixed). We are going to display content processes there
as well, but in the meantime you should pick the global console.

Try inspecting 'document.querySelector("#homescreen")' for example to
get started.

There are some bugs still, but it should be functional enough to help
you guys debug faster. Until we implement support for debugging
content processes, you should disable OOP when you want to use the
console or the debugger. File bugs for anything that doesn't work and
don't worry about dupes, we'll take care of them.

Thanks,
Panos
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to