enable to instantiate with option args and return debug log