enable debug mode as arg.