adding debug flag to aws cmd