how to enable buffer visualization dumping in Movie Capture play mode

I trying to render out PNG Sequences with different buffer visualization mode and I found the code where it launches the game in movie capture mode and there a line where it checks whether buffer Visualization dumping is enabled or not but I don’t know how to enable it. Here is the part of code where it checks:



 // If buffer visualization dumping is enabled, we need to tell capture process to enable it too
            static const auto CVarDumpFrames = IConsoleManager::Get().FindTConsoleVariableDataInt(TEXT("r.BufferVisualizationDumpFrames"));
 
            if (CVarDumpFrames && CVarDumpFrames->GetValueOnGameThread())
            {
                EditorCommandLine += TEXT(" -MATINEEBUFFERVISUALIZATIONDUMP");
            }


So is there a way to enable it?