How to draw debug mesh in a component visualizer?

What is your current set up, what do you use to draw? and why you want to draw mesh?