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

NET_SHOWUDP

CS:GO

This command, if set to 1 (default 0), will enable the printing of information about UDP packets to the console.

Syntax
net_showudp [0 / 1]

Description

This command, if set to 1 (default 0), will enable the printing of information about UDP packets to the console.

How To Use net_showudp

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter net_showudp [0 / 1], 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

net_showudp [0 / 1]
0 / 1 Enter 0 to disable (default). Enter 1 to enable debug printing.