heh, apparently the author had already created a proper plugin: https://github.com/cyberflohr/cordova-plugin-jshybugger
On Fri, Sep 6, 2013 at 6:56 PM, Filip Maj <maj....@gmail.com> wrote: > Wow awesome! Is this the final piece of the debugging-on-device puzzle > for Cordova? > > On Fri, Sep 6, 2013 at 1:55 PM, Michal Mocny <mmo...@chromium.org> wrote: > > Super cool, starting to play with this now. > > > > Minor typo: cordova plugin add, not install. Also, cordova-cli lists > > plugins when you make that typo, instead of warning. > > > > -Michal > > > > > > On Fri, Sep 6, 2013 at 4:25 PM, Andrew Grieve <agri...@chromium.org> > wrote: > > > >> Just took the instructions from > https://github.com/cyberflohr/jsHybuggerand > >> put it in a plugin.xml. > >> > >> cordova plugin install > >> https://github.com/agrieve/cordova-plugin-jshybugger.git > >> > >> Then navigate to chrome:inspect on Chrome Dev and voila! Remote JS > >> debugging with breakpoints and everything! > >> > >> Caveats include it runs quite slow, and since it changes your URL, it > >> causes same-origin policy to kick in. > >> >