DrawDebugLine does not work properly in ParallelFor

DrawDebugLine does not work properly in ParallelFor
How should I display the ray in ParallelFor?