Use debug package instead of console.log.