Since there is no real debug adapter for Fortran in VS Code, the debug adapter for C/C++ is used which can be obtained via the C/C++ extension for VS Code.
When debugging on Linux or in general when using gdb
or lldb
for debugging, this is done via the MIEngine and the cppdbg
debug adapter and should not impose any problems.