Change debug to console.log