Here's an alternative to thtse's answer (which did not work for me). I'm going to assume you are on vmware. First, ensure you have secure boot ON, view this in system information

Shutdown your system. Add a COM port to vmware, use these settings exactly:

Boot your system. Open an administrator CMD.exe (not powershell), and execute the following:
bcdedit /dbgsettings serial debugport:2 baudrate:115200
bcdedit /set {bootmgr} displaybootmenu 1
bcdedit /bootems 1
bcdedit /ems 1
Reboot your system. Once the EMS boot menu shows up, start windbg on your host via an ADMIN CMD.exe:
windbg.exe -k com:pipe,port=\\.\pipe\com_port,resets=0,reconnect
Press F8 on the EMS boot menu option, and select 'Debugging Mode'. Windbg should attach. This uses the information from
https://twitter.com/jonasLyk/status/1424581181794889732 and kernel debug with a vmware machine