Add debug mode for A* path visualization.