Run the game in development mode.
- Make a shortcut to kb.exe and add
-dev to the end (after the "")
- Run the shortcut
- Then use CTRL+Q to teleport on top of the troop (hero will teleport to the location of the mouse pointer).
- If that doesn't work try SHIT+K to kill all visible troops (haven't tried this one yet myself)
You can try other console commands available
here (translated from russian)
Hope that helps.