enable inference bytecode indexing only in internal & test mode