How to check if a game is running in debug mode on Android?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Arne

I have unchecked the “Export With Debug” checkbox, exported my game as an .aab, uploaded to google play store an installed from there. OS.is_debug_build() still returns true.
In contrast, OS.has_feature(“standalone”) always returns true, even when started from the editor (on my phone).

:bust_in_silhouette: Reply From: lewis glasgow
if OS.is_debug_build() and OS.get_name == "Android":
1 Like