I can see the Log using Ray, but I tried to make it visible for debugging and tried various things, but the line is not displayed
If i have any problems, please give me a professor.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RayCast: MonoBehaviour {
    float rayRange = 50f;// set to 50
    RaycastHit hit;
    void Update () {
        // position and orientation settings
        Ray ray = new Ray (transform.position, transform.forward);
        if (Physics.Raycast (ray, out hit, rayRange)) {
            Debug.Log (hit.point);
        // Visualize ray
        Debug.DrawRay (ray.origin, ray.direction, Color.green);