Le 31/10/2015 04:50, Ricky Chien a écrit : > Let me elaborate a little bit on DEBUG=1 mode. > > AFAIK, DEBUG=1 only work when running test agent (gaia unit test), it > doesn’t package webapps into gaia/profile-debug folder so it won’t > work if you try to run it with B2G desktop. So yes, you will get an > empty homescreen since there are no webapps packaged (only > manifest.webapp) in profile-debug. > > This mode runs Gaia on a built-in web server(httpd) with a specific > GAIA_PORT. Web server reads real sources from gaia/apps instead of > gaia/profile-debug so that we are able to support a live-reload > testing feature for developers.
Ricky, It should definitely work in B2G Desktop too. At least it used to... > > >> On Oct 30, 2015, at 8:58 PM, Julien Wajsberg <[email protected] >> <mailto:[email protected]>> wrote: >> >> Le 30/10/2015 01:36, Shian-Yow Wu a écrit : >>> Thanks for the clarification. >>> >>> I tested with the combination below, but still see the empty >>> homescreen problem. Is there something else we need to do? >>> ||make DESKTOP_SHIMS=1 NOFTU=1 DEBUG=1 DESKTOP=0 || >> >> I was gonna say that the DESKTOP_SHIMS is exactly what we don't want, >> but I see it's not used anywhere... >> >>> |b2g -profile gaia/profile-debug| >> >> This should work; but maybe something is broken now. I can look into >> it -- but after the 2.5 branching. >> >>> >>> 2015-10-30 0:18 GMT+08:00 Julien Wajsberg <[email protected] >>> <mailto:[email protected]>>: >>> >>> Actually the issue is different. >>> >>> With DEVICE_DEBUG you don't get the useful httpd.js extension... >>> Actually DEBUG and DEVICE_DEBUG are 2 completely different >>> options. Yes, this is definitely unclear. >>> >>> What you likely wanted is DEBUG=1 *DESKTOP=0*. The trick here is >>> that DEBUG=1 implies DESKTOP=1, but DESKTOP=1 is completely >>> broken, we don't intend to fix it, and it should be deleted. >>> >>> Hope this helps... >>> >>> >>> Le 29/10/2015 12:02, Shian-Yow Wu a écrit : >>>> Hi, >>>> >>>> When building gaia with "DEBUG=1", the B2G desktop gets empty >>>> homescreen. >>>> There was a bug[1] filed but not been addressed so far. >>>> >>>> To avoid such problem, we can remove the 'DEBUG=1' or change it >>>> to 'DEVICE_DEBUG=1', then run B2G desktop using 'gaia/profile' >>>> instead of 'gaia/profile-debug'. See [2] for the difference >>>> between DEBUG and DEVICE_DEBUG of gaia build. >>>> >>>> Probably we should mention this in MDN[3] before the issue got >>>> fixed. >>>> >>>> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1180103 >>>> [2] >>>> >>>> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Developing_Gaia/make_options_reference#Debug_make >>>> [3] >>>> >>>> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building_the_Firefox_OS_simulator >>>> >>>> Best Regards, >>>> ShianYow >>>> >>>> >>>> _______________________________________________ >>>> dev-fxos mailing list >>>> [email protected] <mailto:[email protected]> >>>> https://lists.mozilla.org/listinfo/dev-fxos >>> >>> >>> _______________________________________________ >>> dev-fxos mailing list >>> [email protected] <mailto:[email protected]> >>> https://lists.mozilla.org/listinfo/dev-fxos >>> >>> >>> >>> >>> -- >>> Shian-Yow >> >> _______________________________________________ >> dev-fxos mailing list >> [email protected] <mailto:[email protected]> >> https://lists.mozilla.org/listinfo/dev-fxos >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

