The console commands are hooked up to buttons in UMG.
Fun fact: there are hotkeys to trigger stat fps and hiding/revealing stats without removing the layout.
Ctrl+Shift+H - stat fps
Shift+L - toggle stats
Lots of nice hotkeys here:
https://dev.epicgames.com/community/learning/tutorials/yp8j/the-unexplored-unreal-engine-keyboard-shortucts