Add option to print debug info