mkcloud: make debug mode configurable