Try add some getLogger().log statements, see rescript-vscode/server/src/incrementalCompilation.ts at 47d5dd34abf476368f3dcdef2b1b0818e81f2ec6 · rescript-lang/rescript-vscode · GitHub
That is how I troubleshoot these things on Windows, add logs and inspect the LSP Dump command (if you can).