How to use memreport or memory profiler in dedicated server?

Hi! The Unreal Frontend Tool (Developer Tools > Session Frontend) can connect to a dedicated server and run console commands there. The dedicated server needs to be started with -messaging command line option.