How to make Raycasts/ShapeSweeps visible at runtime

Is there any way to make raycasts and shape sweeps visible at runtime? I’ve tried setting Simulation.ColliderShapesRendering to true but that only seems to show colliders that are on static colliders and rigidbodies.