Debugging cursor position