Start the game with the "+set cheats 1 +set ui_console 1 +set developer 1" command line parameter. Press ~ during the game then.