is it possible to debug a Cordova app in production mode? After upgrading to 188.8.131.52 (from 184.108.40.206) and some code changes, our “old” app stopped working. It seems like that HCP doesn’t work, because the newest layout changes aren’t visible. Kadira doesn’t show any errors, but some client side functions show some weird behavior (f.e. the start button is still disabled or some Tracker functions stopped changing input values). If I use the latest Android app, which matches with the current build, everything is working fine.
I’ve also opened an issue https://github.com/meteor/meteor/issues/8354.
If you do a production build, you can open the output project in Android Studio (or Xcode). There you should be able to debug it. For Android, you can also deploy the APK to the device and use Chrome remote debugging instead. But in this case, you might miss some logs. For both scenarios, you have to setup a QA server that resembles your current server state and serves as a backend for your app production build. I am using a separate build script with different connection settings for this.
Thank you for the answer I’ve to say, that we are using the Crosswalk plugin. If I remember right, I’ve read somewhere that it isn’t possible to read the logs in Chrome or Android Tools if the Crosswalk app isn’t in debug mode.
My Chrome Developer Tools don’t list it if I’ve opened it on the connected device.