
Type " enablecheats" and press to enable cheat mode. While playing the game, press ~ to display the console window. Select the "Set Launch Options" button, and enter " -allowconsole" in the text field. In the Steam version, right click XCOM 2 in your Steam Library, then select the "Properties" option in the "General" tab.

Add the " -allowconsole" command line parameter to end of the "Target" field in the "Shortcut" properties that are used to launch the game.
