To begin debugging your XAML application UI, you will first need to enable a few settings in Visual Studio. If the settings are disabled, you won't be able to view the Live Visual Tree and the Live Properties window, which we will be discussing in the next few recipes.
These settings are by default enabled in Visual Studio 2017, but in case are disabled; this recipe will help you to get started with that.