Maybe "console" needs to be enabled in the Settings' developer menu though?
Le 30/04/2015 00:03, Michael Henretty a écrit : > To see the results of console.log/dump in WebIDE, you need to make > sure you are debugging the proper app. If your added console.log > statements were in gecko somewhere, I'm not sure if you can see those > in any app (maybe main process, or system app??). In any case, you > should be able to see all logs if you run `adb logcat`. Look for lines > that have 'GeckoConsole' in them. > > On Wed, Apr 29, 2015 at 2:01 PM, <ffos...@gmail.com > <mailto:ffos...@gmail.com>> wrote: > > Hey everyone, I'm fairly new to Firefox OS development, and while > messing around in the gecko folder, I wanted to do some console > logging to check the value of some variables. However, I couldn't > see the result of the logging in the WebIDE debugger... I've also > tried using dump() (after changing the corresponding preference > browser.dom.window.dump.enabled to true), but it doesn't work > either (or maybe I didn't look in the right place). Is there > another way to do it, or am I doing something wrong? > Thanks! > _______________________________________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org <mailto:dev-b2g@lists.mozilla.org> > https://lists.mozilla.org/listinfo/dev-b2g > > > > > _______________________________________________ > dev-b2g mailing list > dev-b2g@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-b2g
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g