properly deal with manifest in debug mode