During the game, press Enter and use one of the following codes:
Debug selected unit: debugselected
Describe selected unit: usr
Show memory statistics: printmemstats
Display mouse position: mousepos
Display pointer coordinates: gmp
Display selected units ability: dumpobj
Dump desync_test.txt file: desync
Dump dump_try.xml file: dumpfunctoxml
Exit game: quit
Flat terrain: flatterrain
Pause and resume game: pause
Save game: save
Switches player in multi-player mode: setplayer
Test adventure integrity: testadventure
Fog of war: togglefog
Houses and decorations: togglevis
Translation test: ttest
View level properties: ae