Let's just only print debug messages when compiled in debug mode

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>