Debugging suddenly stopped in Visual Studio Code Debugging suddenly stopped in Visual Studio Code powershell powershell

Debugging suddenly stopped in Visual Studio Code


This is seen in the recent PowerShell/vscode-powershell issue 1334 from a month ago.

Can't execute scripts on debugger using F5 - Start Debugging.
Even a simple one like this.

write-host "Test"

Using the F8 shortcut it works.

The bug report is being reviewed.
Update august 2018: PR 725 will close the issue.

There's a lot of race condition fixes in the PSRL changes, but that was mostly through adding locks.
Those areas could probably benefit from similar refactorings, the locks were more like stop gaps.

It will be available in PowerShell/PowerShellEditorServices 1.8.4 or more.