Quoted from vid1900:
Same way you find the bug in any complex system.
You take the glass off, you try to recreate what you think you saw.
What I don't understand is why anyone who is debugging a pin today wouldn't have a gopro recording every second. That should be simple with technology and digital storage now.