I got started with this video tutorial on debugging Fortran with VScode:
It turned up to be quite straightforward, at least on Linux.