You're right. PDB files are for debugging purposes, but you may also need to debug release builds. Saving PDBs of released assemblies is very important if you want to debug a client problem and you have an emergency dump file associated with this problem.
By the way, creating PDB files does not harm compiler optimization. If you do not send it to the customer, there will be no performance impact.
source
share