Cursor debugging