Updated template with debug option for RabbitMQ