Visual Studio: Visual Studio would hang when using PowerShell v3\v4

When the PowerShell extension would initialize and PowerShell v3 or v4 was being used, the extension would cause the IDE to hang.

Visual Studio: Debugging would not work in Visual Studio 2017

The error “Attaching the PowerShell Debug Engine debugger to Process unknown process” would be shown when attempting to debug.

Visual Studio: Breakpoint would not be set in Visual  Studio 2017

The debugger would not break on a breakpoint set in Visual Studio 2017.