Added option to send debug logs