If you look at Debug.log() in the official docs, it takes context as it'sits second parameter, you can pass your Gameobject in that to know which object is calling the debug statement then call your Debug.break()Debug.break() to pause the scene.
Debug.log("myMessage",myGameObject);
Debug.break();
Debug.log("myMessage",myGameObject); Debug.break();