.
app.GetDebug() → String: comma “,” separated: “console”, “ds”, “adb”, “all”
The available modes are:
“console”: allows console.log messages
“ds”: allows app.Debug messages
“adb”: allows adb debug messages (ie at apk startup)
true: enable all debug messages
false or “” : disable all debug messages
See Also: Debug, SetDebug, IsDebugging
.
Example - 2
function OnStart()
{
app.SetDebug("adb");
var switches = app.GetDebug();
app.Alert(switches);
}
from native import app
def OnStart():
app.SetDebug("adb")
switches = app.GetDebug()
app.Alert(switches)