Trigger thread safety for debug mode
unit indexer thread safety for debug mode