support --debug to DataHandler