Unreal Engine Var console variable.
p.ChaosCloth.DebugDrawParticleIndices [value]
Set via the console (~) or in DefaultEngine.ini / DefaultGame.ini.