An item with the same key has already been added

I had this exact same problem, and the only solution I could find was to revert the version of DebugDiag to DebugDiag Version 2 Update 2.

Link to download for this specific version: https://www.microsoft.com/en-us/download/details.aspx?id=49924