I have noticed that there is a CFG_SOURCE_DEBUG macro to turn the debug feature on or off in the Quark EDKII Platform package.
Is the source level debugging supported by UDK debugger tool for Quark SoC on Windows?
I am not totally sure if this is the answer that you are searching but let me share some information that could help.
Please verify these posts:
Additional, UDKII information https://www-ssl.intel.com/content/www/us/en/architecture-and-technology/unified-extensible-firmware-interface/intel-uefi-development-kit-debugger-tool.html and Basetools for widows http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Edk2-buildtools .
Retrieving data ...