Add debug as config option