Add debug mode and new deploy-implies-add