Check out example codes for "unity3d debug pause". It will help you in understanding the concepts better.
Code Example 1
using UnityEngine;public class ExampleScript : MonoBehaviour
{
void Start()
{
Debug.Break();
}
}
Learn ReactJs, React Native from akashmittal.com