Search code examples
androidcordova

Cordova : how to debug android --prod build


I have an issue with a cordova application which occurs only when building it with the command : cordova build android --prod --release When building in debug mode, everything works fine.

I use chrome://inspect to debug my app, but this work only with debug build

How can I inspect and debug my app when building for production ?

Edit: no solution, this seem to be impossible to do.


Solution

  • You can't debug the release version of your application with chrome://inspect because debugging in release version is deactivated. You have to use the debug version to debug your app.