1

I can't seem to find how to do this online, but essentially I am trying to debug a Powershell 7 script in VS Code, but whenever I launch the debugger it uses Powershell 5.1.

Any help would be much appreciated!

Cheers.

  • I hope the linked duplicate answers your question. – mklement0 Aug 10 '21 at 20:29
  • 2
    I was writing up an answer for this explaining how to change your default PS version for vscode and using the `Shell Launcher` extension... I learned something new (and feel dumb I never noticed) about the PS version badge at the bottom of the client. Never knew I could click it to change versions lol – codewario Aug 10 '21 at 20:33

0 Answers0