msbuild has -v:diag , this prints a lot, but it didn’r print what I wanted to see:
-v:diag
Maybe it works for you.