While playing the game, press ~ to display the console window. Make sure there is a space between the last quotation mark in the 'Target' field and the added command line.
Click on 'Properties', and then add the ' -enabledeveloperconsole' command line to end of the 'Target' field.
Right-click on the file that is used to launch the game.