Debug firewall detection mechanism