Toggle debug camera doesn't work on clients

Exactly as the title says. The console command ToggleDebugCamera works perfectly fine on standalone and listen server, however it does not work on client.

Is there a way I can make it work on clients as well? I imagine it’s something that should be able to be done locally.