add debug to upload task