if full release has disabled debug subpackage then disable it for patch too

also pass ENABLE_DEBUG flag to the validation