How do i disable console command input while packaging the game?

I don’t want game player to access the console command. How do i disable console command input while packaging the game ?

And game player must not be able to enable console command when he has .exe file with him.

Hi!

For disable console feature, you need switch to Shipping Build Configuration.