Allow capturing in release builds. Defaults to false; override before calling install only when you explicitly need release-build capture.
bool allowInRelease = false;