How to debug corrupted files in ~/.config directory?

The easiest way to fix this is to rename the .config folder to .config.HOLD, then log out/in, and let it create a new .config folder with the minimum required files, then copy all of the files from .config.HOLD folder into the new .config folder, skipping duplicates.

cp -an ~/.config.HOLD ~/.config