NB! It seems this console command is not compatible with CS2.
Command Profile

CL_GAME_MODE_CONVARS

CS:GO

Use this command to produce a list of the active convars in your current game server, such as bot difficulty and the game mode you're playing.

Syntax
cl_game_mode_convars

Description

Use this command to produce a list of the active convars in your current game server, such as bot difficulty and the game mode you're playing.

How To Use cl_game_mode_convars

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter cl_game_mode_convars, replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

cl_game_mode_convars