Terminal: CWD

Set the working directory of new integrated terminals. You can use relative or absolute paths

It also supports variables. Use ${fileDirname} for example to set the cwd to the current file’s directory.