debug

inline fun debug(block: () -> Unit)
inline fun <T> T.debug(block: (T) -> Unit): T

Debug scope function; Use anywhere to add code called only in debug mode.