How to know if i am in release mode or debug mode?

hi devs
i need to know if i am on release mode or debug mode during runtime?
and how to i determine my current platform? thanks

Hi there,

I’m new here as well, but I found this:

cc.game.config.debugMode == 1

Hope it helps.

great! thanks man it helps!.. :smile: