解决方案
示例
[UnityTest] public IEnumerator TestDebugBreak() { Debug.Log("编辑器暂停"); Debug.Break(); yield return null; // 等待一帧 Debug.Log("编辑器恢复"); }