I have Win10 installed on a GPT drive (nvme) as the 3rd partition (EFI, HFS, NTFS - that one has Win10). It boots through UEFI, thus I don't understand why if I disable CSM in BIOS (which I want to, but that's outside of this question's scope), windows fails to boot with PAGE_FAULT_IN_NONPAGED_AREA error. That happens after few "spins" of Windows logo during booting.
I don't know how to debug it further to understand what exactly is failing during the boot. Is there any way to, for example, boot the OS in debug mode (without windows logo covering whats happening under the hood) as well as logging the EFI output to a text file?