Use connection string parameter DequeueTimeout instead of Debugger.IsAttached to set dequeue timeout in RabbitMqDequeueStrategy.