Added debug option to config