Make android app debuggable

Hi there, I had the following snippet in my PhoneGap config.xml to enable debugging for the android app. My sauce lab automation script was able to debug it using this settings. But last couple of weeks, its not working. Its not able to identify the web view. Does anybody have a clue ? Has something changed with PhoneGap ? <edit-config file="AndroidManifest.xml"             target="/manifest/application"             mode="merge">                 <application android:debuggable="true"  />         </edit-config>
1 answers

Did you build the app with or without signing keys? If you build your app with signing keys, that means you are building your app for distribution (to be published in the Play Store), which means you cannot debug the application. If you are building your application without signing keys, you are building a debug version of your app, and it should be debuggable.


I never had to put any of that snippet in my config.xml, so I am not even sure what that snippet does.