Debug mode conditions; Proper user-agent