PowerShellEditorServices
PowerShellEditorServices copied to clipboard
[Revamp pipeline thread handling] Support Enter-PSHostProcess and Debug-Runspace for Azure Functions etc.
Enter-PSHostProcess debugging is both an essential form of debugging, but also essential for PowerShell Azure Functions Host support. Because of PowerShell's quirks, we have to do special things to support it.
https://github.com/PowerShell/PowerShellEditorServices/blob/9e1a17a3ceabc1dc856ce90f4aac177c971c5c0a/src/PowerShellEditorServices/Services/DebugAdapter/Handlers/DisconnectHandler.cs#L53-L70
https://github.com/PowerShell/PowerShellEditorServices/blob/1ffe6db32e3aaeed0866497ed32a35e96f937390/src/PowerShellEditorServices/Services/DebugAdapter/Handlers/LaunchAndAttachHandler.cs#L396-L413
https://github.com/PowerShell/PowerShellEditorServices/blob/29e44b6ebdc63de70bd06538db03f3298ba2cfc6/src/PowerShellEditorServices/Services/PowerShellContext/PowerShellContextService.cs#L1491-L1548
Also see:
https://github.com/PowerShell/PowerShellEditorServices/blob/9e1a17a3ceabc1dc856ce90f4aac177c971c5c0a/src/PowerShellEditorServices/Services/PowerShellContext/Session/RunspaceDetails.cs#L13-L323
To solve in https://github.com/PowerShell/PowerShellEditorServices/pull/1459
FYI this has NOT been solved by #1459 and remains an open issue @andschwa CC @anatolib

Can I react with a :sob: for that? :sob: