debug
verb
°To remove a hidden electronic surveillance device from somewhere.
°To search for and eliminate malfunctioning elements or errors in something, especially a computer program or machinery.
synonyms: diagnose, troubleshoot