How to Access the Console in Left 4 Dead
- 1). Press the "ESC" button on the computer keyboard to open the Main menu.
- 2). Select "Options" from the list and choose "Keyboard/Mouse." A list of settings will appear on the screen.
- 3). Choose "Enable" for the "Allow Developer Console" option and press "ESC" to return to the game.
- 4). Access the console during the game by pressing the "~" button on your keyboard. Note that you do not have to press the "Shift" key when you press the "~" button. The console will appear on the screen, and you can enter any commands.
Source...