Powershell end of support- cannot debug code anymore

I was debugging code the other day and VSC stated it had an updated. I finished what I was working on and then I updated my VSC to version 1.98.2. Since the upgrade, I cannot debug any code as it keeps telling me Powershell has crashed:

The terminal process "C:\Program Files\PowerShell\7\pwsh.exe '-NoProfile', '-ExecutionPolicy', 'Bypass', '-Command', 'Import-Module 'c:\Users\jmilano\.vscode\extensions\ms-vscode.powershell-2025.0.0\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2025.0.0' -BundledModulesPath 'c:\Users\jmilano\.vscode\extensions\ms-vscode.powershell-2025.0.0\modules' -EnableConsoleRepl -StartupBanner "PowerShell Extension v2025.0.0 Copyright (c) Microsoft Corporation. https://aka.ms/vscode-powershell Type 'help' to get help. " -LogLevel 'Warning' -LogPath 'c:\Users\jmilano\AppData\Roaming\Code\logs\20250404T151628\window1\exthost\ms-vscode.powershell' -SessionDetailsPath 'c:\Users\jmilano\AppData\Roaming\Code\User\globalStorage\ms-vscode.powershell\sessions\PSES-VSCode-10164-401247.json' -FeatureFlags @() '" terminated with exit code: 1.
Terminal window shows this each time it crashes:
2025-04-04 15:16:33.984 [info] Visual Studio Code: v1.98.2 64-bit on Windows 64-bit
2025-04-04 15:16:33.985 [info] PowerShell Extension: v2025.0.0
2025-04-04 15:16:33.985 [info] Starting 'PowerShell (x64)' at: C:\Program Files\PowerShell\7\pwsh.exe
2025-04-04 15:16:35.300 [info] PowerShell process started with PID: 7500
2025-04-04 15:16:38.489 [warning] PowerShell process terminated or Extension Terminal was closed, PID: 7500
2025-04-04 15:16:38.496 [error] Extension Terminal is undefined.
2025-04-04 15:16:39.734 [error] PowerShell v7.3.6 has reached end-of-support, please update!
2025-04-04 15:16:39.835 [info] Starting 'PowerShell (x64)' at: C:\Program Files\PowerShell\7\pwsh.exe
2025-04-04 15:16:40.216 [info] PowerShell process started with PID: 9908
2025-04-04 15:16:42.156 [warning] PowerShell process terminated or Extension Terminal was closed, PID: 9908
2025-04-04 15:16:42.459 [error] Extension Terminal is undefined.
2025-04-04 15:16:43.414 [error] PowerShell v7.3.6 has reached end-of-support, please update!
2025-04-04 15:16:43.414 [error] PowerShell session unavailable for debugging!

Is this Microsft’s way of forcing users to upgrad Powershell!?

I’d assume that’s pretty likely an issue with your installation on your machine. Have you tried updating your Powershell version? I’d try to un-install and re-install VSCode again.

Anyway this forum is more about PowerShell code and scripting question than systems management or systems trouble shooting.

@JDMils I would definitely recommend upgrading your version PowerShell. Version 7.5.0 is out, so you are quite a few versions behind. VSCode version 1.99.0 has been released - I just updated mine this morning. It’s also a good idea to keep your VSCode extensions current, like the PowerShell Extension.

IDK if any of those things will resolve your issue, but those are all good practices.