Add debug-pathfinding setting