This is required otherwise code analysis complains about not being able to do its job properly. The pdbonly setting does not affect the output binaries in any way. The only downside is a slight increase in compilation time.