unity3d debug pause

C#
using UnityEngine;public class ExampleScript : MonoBehaviour
{
    void Start()
    {
        Debug.Break();
    }
}

Source

Also in C#: