Add more debug logging to the indexer