Get android manifest debuggable property value

Check if android debuggable property is true or not in manifest.

<application android:allowBackup="true" android:debuggable="true" >

How to get debuggable property value programmatically?

Answer

You check if DEBUGGABLE is true or false using this

(getContext().getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0