I have the same question Joe did, but for WinUI 3 desktop projects. Essentially, is there a way to trace what's happening and when, as XAML loads?
The solution for WPF appears to be a pre-defined set of TraceSources that simply need to be "turned on."
PresentationTraceSources.Refresh();
PresentationTraceSources.MarkupSource.Switch.Level = SourceLevels.All;
Is there anything similar for WinUI 3? I've tried enumerating TraceSources (similar to this article) but this only sees instantiated sources. I'd like to see if there are any sources embedded in SDK 1.1.2.