Adding debug logger
Don't block when starting infinite loops :)