'Running two launch targets in separate terminals side-by-side in VSCode

I'm rewriting a shell application. Therefore, I'd like to run the old version and the new version side-by-side and compare the output, to make sure my new version behaves exactly the same as the old one.

I have both scripts in the same VSCode project, and I've configured a launch target for each one. I've opened both source files at the same time and I'm displaying them side-by-side.

How can I set up VSCode, so that I get also two terminal windows (or "console", I don't quite understand the VSCode terminology) side-by-side, and depending on the launch target, the output is displayed in the respective terminal?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source