Is there a way to know if the game is in debug mode from Blueprint?

Is there an equivalent in Blueprint for the C++ UE_BUILD_DEVELOPMENT flag?
I would like a certain behavior only if the game is in development mode.

I guess I could make a function library and return it…


If you don’t want to create your own function library, you might want to get this: LE Extended Standard Library in Code Plugins - UE Marketplace

It has what you want.

you can find the list of preprocessors here

checking them using #if will help you find this out

ps : i found something else too int his file (search for debuglevel)

Thanks for the links. This and hakan.aras’ comment answers the question.


Thanks a lot!!