How to run in emulator mode ? Visual studio

Hi,

I’m able to execute the kernal on graphic card without any problem. Now, I want to run in the emulator mode so that I can add some printf statements for debugging.

Can anyone tell me how to run in the emulator mode in visual studio ?

Thanks :)

Kompile with -deviceemu option