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

ENABLE_DEBUG_OVERLAYS

CS:GO

This command will enable (if set to 1) the rendering of debug overlays. If set to 0, this command will disable the rendering of debug overlays.

Syntax
enable_debug_overlays [0 / 1]

Description

This command will enable (if set to 1) the rendering of debug overlays. If set to 0, this command will disable the rendering of debug overlays.

Syntax And Arguments

enable_debug_overlays [0 / 1]
0 / 1 Enter 0 to disable debug overlays. Enter 1 to enable debug overlays.

Related Commands