If the terminal is being launched from an In Visual Studio Code, you can open an integrated terminal, initially starting at the root of your workspace. Troubleshoot Visual Studio Code Integrated Terminal launch failures, Ask about it on Stack Overflow, often launch issues are related to environment setup and not a problem with VS Code.