Add some debug statements to assist with troubleshooting discovery failure