Regarding a debug mode, I think it already exists to some extent. Platform build scripts accept a --release flag, which sets the Release configuration on iOS, and on android runs "ant release" instead of "ant debug".
On Tue, Nov 26, 2013 at 10:43 AM, Michal Mocny <mmo...@chromium.org> wrote: > On Tue, Nov 26, 2013 at 1:30 AM, Jan Becicka <jan.beci...@oracle.com> > wrote: > > > On 25 Nov 2013, at 19:48, Michal Mocny <mmo...@chromium.org> wrote: > > > > > You have to explicitly enable remote debugging for kitkat chrome-based > > > webview: > > > > > > https://developers.google.com/chrome-developer-tools/docs/remote-debugging#debugging-webviews > > > > > > Existing cordova platforms do not do this. I think it would be a good > > > preference to add for the android platform for 3.3, but you can add it > > > yourself following the above instructions. > > > > Sounds good. Is there an issue for this? Should I file it? > > > > Filed: https://issues.apache.org/jira/browse/CB-5487 > > > > > > Thanks, > > Jan > > > > > > > > > > As far as I am aware there are no performance implication to leaving > this > > > flag on at all time (i.e. when releasing your app) -- but the flag > > > implemented as an opt-in so that users cannot inspect your webview > based > > > application without your consent. I think cordova should respect that > > and > > > leave the option off by default as well. > > > > > > -Michal > > > > > > > > > On Mon, Nov 25, 2013 at 9:11 AM, Dick Van den Brink < > > > d_vandenbr...@outlook.com> wrote: > > > > > >> @Jan > > >> Remote debugging is possible with for example > > https://www.jshybugger.com/ > > >> > > >> On Android 4.4 It is possible to debug without a plugin. > > >> > > >> Sent from my Windows Phone > > >> ________________________________ > > >> From: Jan Becicka<mailto:jan.beci...@oracle.com> > > >> Sent: 11/25/2013 17:05 > > >> To: dev@cordova.apache.org<mailto:dev@cordova.apache.org> > > >> Subject: Re: Cordova Debug Mode > > >> > > >>> * Enabling the remote debugger in Android 4.4+ > > >> > > >> Btw does cordova support remote debugging on Android? Is there a way > how > > >> to enable it for cordova apps? I tried to google it, but I failed. > > >> Thanks, > > >> Jan > > >> > > >> > > >> > > > > >