Testing Text Synchronization

Is there a way for me to test if I’ve handled text synchronization correctly? Sometimes the semantic tokens misalign with the symbols (and stay that way) but as I make more edits they correct themselves. I suspect that the deltas I sent to the server are incorrect, but I don’t see an option to retrieve the full document back from LSP to validate it.