Secure env debugging