Print diagnostics inside the Windows build [to be reverted]