Add console.log debugging.