Add old console.log debug code