Only show debug logs if in debug mode