-
Notifications
You must be signed in to change notification settings - Fork 511
Attach to host process freezes PS Console and do not break in VSCode #1684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attach to host process freezes PS Console and do not break in VSCode #1684
Comments
Thanks for the info! Can you also attach the logs here so we can get a better idea of what's going on? Also, please upgrade to the latest version of the PowerShell extension - 1.10.2 (at this time) |
VSCode version: Version: Code 1.30.1 (dea8705087adb1b5e5ae1d9123278e178656186a, 2018-12-18T18:12:07.165Z) Powershell extension version: 1.10.2 |
@carlos-ricciardi thanks for submitting this issue, we were able to re-pro it and will hopefully be able to start working on it soon. |
Looking at the diff between the tags 1.8.4 and 1.9.0, I couldn't see anything that should have broken this. |
Sorry about the wrong info. It started in version 1.10.0. I couldn't repro in 1.9.0 either. |
Thanks for the update! |
Um yeah, those changes present a target rich environment for a breaking change in this area. We changed how we spin up the named pipes for debug to include different names for In/Out (read/write). Hmm, but in this case (according to the logs attached) we're using the older "NamedPipe" duplex pipe. |
I've got a PR out to fix this. 👍 See ^ |
Until version 1.8.4 it works: you are able to attach to a PS Console process, start a script and debug in VScode. Starting with 1.9.0 this has stopped working. When you attach VScode to a PS console process it freezes the process, the code doesn't break in VSCode and a message is displayed: To end the debugging session type the ‘Detach’ command at the debugger prompt, or type ‘Ctrl+C’ otherwise.
The text was updated successfully, but these errors were encountered: