Is it possible to create debug nodes?

Hello. I want create some functions in Blueprint, that run only in debug mode.
Like

#ifdef _DEBUG
// some code
#endif

Is it possible?