wrap ext framework version check in debug block