How to use Quick Look Simulator to debug Quick Look extension?

I want to debug my QuickLook extension for macOS. I read somewhere online that when running it in Xcode, I have to select Quick Look Simulator, but I have no idea what to do after that, and I couldn't find any official documentation.

How to use Quick Look Simulator to debug Quick Look extension?
 
 
Q