I would like to know exactly what the debuggable true
statement does:
// build.gradle
android
{
buildTypes
{
debug
{ debuggable true
}
}
}
I am able to debug without it using the emulator (genymotion): the breakpoints work; the Log.d(...)
statements output to the Android Monitor;
Since the debuggable
flag is inside the debug
section, it seems redundant anyway. Shouldn't it be outside the buildTypes
section, indicating to the ide that the debug
buildtype should be used?
It would also be nice to get some simple layperson general background understanding of the difference between the debug
and release
buildtypes.