I read today that the idea of the ‘computer bug’ actually grew out of a case of an actual bug getting into a computer and causing trouble; whereupon Grace Murray Hooper promoted the idea of a computer bug. It’s also said that Edison preceded her in referring to ‘bugs’ in a machine; but Hooper’s bug is now in the Smithsonian:
https://daily.jstor.org/the-bug-in-the-computer-bug-story/
Sorry; her name was Hopper.
That’s true. Back when computers had vacuum lines, a bug getting inside one would cause it to malfunction. Thus an exterminator would be called on to open up the computer cabinet and de-bug it. Of course, that was a hardware issue, but the term lives on in software talk.


She looked like a wizened little old lady, but she was sharp, and I remember her smiling countenance and evident resident humor in her!
I later heard of her "founding" of the term "bug", and here is the "bug":
I don't remember if she mentioned her trademark "nanowires", sections of wire cut so that each wire showed how far an electric impulse traveled in one nanosecond:
I have always considered an unexpected privilege to have had her speak at my college graduation.