Add debug mode and flag