Switched conditional console logs for debug module