Infinite Distance Raycast with DrawRay

I have a raycast set up like this:

if (raycasting)
        {
            if (Physics.Raycast(raycastEmit, transform.TransformDirection(Vector3.left) * 10, Mathf.Infinity))
            {
               
                print("Something Here");
                Debug.DrawRay(raycastEmit, transform.TransformDirection(Vector3.left) * 10, Color.red);
            }
        }

And would like to know how to get Debug.DrawRay to draw the exact ray (infinite distance), is there a way to do this?

Nope. But you could translate the target vector and use DrawLine instead.

Just make the argument for length really, really big. There is no such thing as infinite in games. If the length of the ray drawn is larger then your game world then it’s effectively infinite.