Hello @Wojciech Szmańda,
Thank you for taking time to post this issue in Microsoft Q&A forum.
If you try to use powershell.exe
instead of pwsh.exe
, will this error disappear?
Here's a similar(maybe) issue: Launching built-in pwsh.exe crashes terminal toolbar for you to refer to.
Besides, as Visual Studio Code is currently not supported in the Microsoft Q&A forums, if this issue persists, please kindly post this question here: Github - vscode for better help.
Thanks for your understanding, have a nice day:)
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.