I've been using VS Code for a year and have never experienced this before.
I made some changes to my PowerShell profile in VS Code a week ago. Now, whenever I launch VS Code it automatically attempts to open this file and start a PS Session in the integrated console.
For example: If I was last working in a folder with Javascript files, on launch VS Code will open that folder, and then an additional window with the PS Profile file will open in the background.
How do I prevent this?
note: I have restore windows set to none, as mentioned in this other post here
"window.restoreWindows": "none"