Add debug logging for probe resolver and server. Fix some minor bugs.