how to correctly configure default terminal in vscode code example
Example: change default external terminal vscode
The source link has the solution to this:
https://offering.solutions/blog/articles/2020/03/24/setting-windows-terminal-as-default-external-terminal-in-visual-studio-code/