I found the dipoles of CO2 calculated by Quantum ESPRESSO as :
Computed dipole along edir(3) :
Elec. dipole 0.3112 Ry au, 0.7909 Debye
Ion. dipole 0.8137 Ry au, 2.0683 Debye
Dipole 41.9812 Ry au, 106.7055 Debye
Dipole field 0.5025 Ry au,
I assumed the third value is the sum of the electronic and ionic contributions.
The input and output files are attached herewith.
Since CO2 is non-polar molecule (with polar bonds), shouldn't the total dipole moment be zero?