PowerShell Pro tools failed to connect

PowerShell Pro Tools failed to connect in Vistual Studio Code. It suggests to check out the output channel for PowerShell pro tools.
I have subscribed to the PowerShell Pro Tools.

Would someone please help me out here?

Sikandar

Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version:

This is a known problem with PSPT with VS Code on Windows.

First, try to reload the VS Code window:
View → Command Palette… → Developer: Reload Window

If that doesn’t work, review support document KB3009 - PowerShell Pro Tools for VS Code “failed to connect”. The only workaround on KB3009 that helped me was #3.

If KB3009 gets you working, the Reload Window command should help any recurrence.

Cheers