I extended an extension that writes JS log statements in vscode. Now it works with rescript (and other popular languages)
Inspired by vscode-js-console-utils
It’s not yet been published in the vscode marketplace. Download the vsix file to manually install it in vscode