How to use debug viewmode in a standalone version on console platform ?


Is there anyone who knows how to enable debug viewmode such as ‘viewmode wireframe’ or ‘viewmode quadoverdraw’ in a standalone version .

I found some info in the source code of function bool AllowDebugViewmodes() saying that EngineDebugMaterials must be in the StartupPackages for the target platform.

However, BaseEngine.ini shows that these EngineDebugMaterials have already been added into StartupPackages , but some of the EngineDebugMaterials have been trimmed for some reason in the final cooked version, .