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…

Thanks.

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
https://github.com/EpicGames/UnrealEngine/blob/55c9f3ba0010e2e483d49a4cd378f36a46601fad/Engine/Source/Programs/UnrealDocTool/APIDocTool/APIDocTool/Program.cs#L250

checking them using #if will help you find this out

ps : i found something else too int his file (search for debuglevel)
https://github.com/EpicGames/UnrealEngine/blob/ae08153355fc98a237f37c94966aa27583938948/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalCommandBuffer.cpp

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

Cheers!

Thanks a lot!!