Step 1: install the multicommand extension: ryuta46.multi-command https://marketplace.visualstudio.com/items?itemName=ryuta46.multi-command
Step 2: add to settings.json:
"multiCommand.commands": [
{
"command": "multiCommand.runInBothTerminals",
"interval": 30,
"sequence": [