Shows console in the game UI.
Example from garrysmod\lua\menu\mainmenu.lua that initializes the game UI and shows console if activated.
garrysmod\lua\menu\mainmenu.lua