This is useful to add logs, unlock levels, bypass security checks and other stuff only when the app is debuggable.

This way, you don’t need to remove or comment code when you publish your app.

REMINDER: when you publish your app, you should always disable the debuggable flag on your manifest!