index debug