Move debug option to config file.