Plug into an amp, and move the guitar or bass close to it. That will bring out hum, buzz, and feedback if the instrument is prone to unwanted noise.
Sometimes, feedback is a desirable sound for rock and heavy metal. Microphonic feedback, however, is never entertaining. That is the very shrill shriek which causes hearing discomfort. The cause is insufficient isolation of the pick-ups.