How to connect a debugger?

Have you had any success hooking up the debugger to Heroes 3? This is my first attempt at reverse engineering anything. I tried to use Ghidra or IDA, but when turning on the dubuger Ghidra becomes low resolution and goes to fullscreen, then everything freezes.

Ok, I got it.
When do you implement vcmi did you use Ghidra?