Drawing debug lines in the editor

I think I found what I want, I will investigate a bit more about it.
It looks like what I was looking for is the FDebugRenderSceneProxy class.