Configure the title shown for integrated terminals in VS Code with the "Terminal › Integrated › Tabs: Title" setting. Some useful variables you can use in the title:
• ${process} — Current process name
• ${cwd} — Current working directory
• ${workspaceFolder} — The workspace the terminal was launched from
• ${local} — Indicates local terminals in remote workspaces