Debugging. Logging inserted indices.