Оказывается, это было довольно легко найти в документации по адресу https://code.visualstudio.com/docs/getstarted/settings.
Параметр, который управляет этим:
// An explicit start path where the terminal will be launched, this is used
as the current working directory (cwd) for the shell process. This may be
particularly useful in workspace settings if the root directory is not a convenient cwd.
"terminal.integrated.cwd": "",
Это может быть добавлен в settings.json
в папке .vscode
. Поддерживаются абсолютные и относительные пути, поэтому
"terminal.integrated.cwd": "app"
и
"terminal.integrated.cwd": "/path/to/project/app"
будут работать.