Debug indexing