added support to loopback ips when debug is enabled