How can I change HDRP rendering debugger setting in runtime using c#?

How can I change HDRP rendering debugger setting in runtime using c#? I find some things like DebugDisplaySettings and LightingDebugSettings in source code but don’t know how to use them.

var hdInstance = RenderPipelineManager.currentPipeline as HDRenderPipeline;
 hdInstance.debugDisplaySettings.data.lightingDebugSettings.exposureDebugMode = ExposureDebugMode.SceneEV100Values;

This is what I used to enable exposure value debug. I am not sure if it’s runtime available though.

Thanks.