How to use showflags in packaged game?

Where do I put showflag commands so that they are activated in a packaged game?

For example, I can turn off all lighting via the console using showflag.lighting = "0" in the console in the PIE or development build, but I have tried adding that to the DefaultEngine.ini file and it doesn’t work…

What is the correct way to do that?