You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is still a big issue, more about runspaces, that entering a runspace still hangs the console. This is a "big deal" showstopper for doing any kind of debugging in this environment.
Doesn't Debug-Runspace after entering the target process
If you do it manually, breakpoints aren't transferred
Trying to abort the debug session dead locks the session completely
Note, unfortunately this is a potentially quite large work item and was the most difficult piece to fix when I integrated PSRL years ago. I have also verified it does work in stable. Pretty finicky, but definitely usable.
Hopefully easier to fix with the improved architecture though 🤞
Activity
JustinGrote commentedon Feb 24, 2022
There is still a big issue, more about runspaces, that entering a runspace still hangs the console. This is a "big deal" showstopper for doing any kind of debugging in this environment.
andyleejordan commentedon Feb 24, 2022
Completely agree!
andyleejordan commentedon Feb 24, 2022
It's probably our last and biggest blocker to move the preview to stable.
andyleejordan commentedon Feb 28, 2022
Just running the "attach process" kinda works? I mean it's broken in a lot of ways too, and I'm not sure how it's supposed to work.
SeeminglyScience commentedon Mar 1, 2022
Attach to process definitely doesn't work.
Debug-Runspace
after entering the target processNote, unfortunately this is a potentially quite large work item and was the most difficult piece to fix when I integrated PSRL years ago. I have also verified it does work in stable. Pretty finicky, but definitely usable.
Hopefully easier to fix with the improved architecture though 🤞
SeeminglyScience commentedon Mar 1, 2022
We also need to test (after this is fixed) if debugging an azure function still works.
andyleejordan commentedon Mar 3, 2022
😭 I hope it ends up being easier to fix than we think!
[-]Verify attach to process scenario works[/-][+]Fix (or disable) "attach to process" debugging[/+]andyleejordan commentedon Apr 18, 2022
Thanks @SeeminglyScience!
JustinGrote commentedon Apr 18, 2022
Can confirm this years-long bug is finally fixed in preview. You can debug an Azure Functions worker and get repl at the console at that point.

[-]Fix (or disable) "attach to process" debugging[/-][+]Fix attach to process" debugging[/+][-]Fix attach to process" debugging[/-][+]Fix attach to process debugging[/+]