TYRUS-289: Introduce DEBUG mode