Spain's World Cup debut ended goalless against Cape Verde.