Configuring the terminal's title
Use the terminal.integrated.tabs.title setting to configure the title shown for integrated terminals in VS Code.
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.