-
Notifications
You must be signed in to change notification settings - Fork 510
Error on Debug Adapter: Error: connect ETIMEDOUT \\.\pipe\... after second execution in PowerShell Integrated Terminal #3505
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
Comments
I disabled the PowerShell extension, installed the PowerShell Preview extension (ms-vscode.powershell-preview@2021.8.0) and got the same results. |
@hugh-martin and @youngr137, could this be a duplicate of #2821? |
FYI, I cannot duplicate the issue with PowerShell extension v2021.6.2. Switching back to v2021.8.0 of the PowerShell extension brings the issue back. |
Oh that's interesting! Ok, can you let me know if it reproduces with v2021.7.0-preview? This would help me narrow it down! |
I just tried it and I cannot reproduce it with v2021.7.0-preview. |
Fantastic, thanks! |
So that narrows down the bug to be either a change between PowerShell Editor Services v2.4.6 and v2.4.7, as there isn't a substantial code change to the extension that I can see between v2021.7.0-preview and v2021.8.0. |
For whatever it's worth, I have been working with PowerShell extension v2021.6.2 for several days now and the problem has not re-occurred. Thanks again for the efforts. |
Just FYI this is on my docket to investigate as the next big problem happening. |
I've been attempting to look at this and have not been able to reproduce it yet. PowerShell Preview 2021.8.2 is out now, would you test and see if this still reproduces? |
I am happy to report that it is not happening with PowerShell Preview 2021.8.2 and PowerShell 7.1.3. |
Woo-hoo! |
This issue has been marked as fixed. It has been automatically closed for housekeeping purposes. |
Prerequisites
Summary
Any second execution of PowerShell code results in an error in the PowerShell Extension logs and a failure to execute any code in the PowerShell Integrated Terminal until it is killed and restarted.
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Disable all extensions except the PowerShell extension.
Create new file (no need to save it, but saving it will result in the same issue).
Wait for the PowerShell Integrated Terminal to start.
Add a small bit of PowerShell code; Get-Disk in this case, which was chosen arbitrarily.
Run the script (with or without debugging).
Wait for the script to execute successfully.
Run the script (with or without debugging) a second time.
Wait for the script to time out (~30 seconds).
Check the PowerShell Extension logs for something similar to the following:
Error on Debug Adapter: Error: connect ETIMEDOUT \.\pipe\PSES_x0wt2evy.fli
Visuals
Code screenshots.zip
Logs
logs.zip
The text was updated successfully, but these errors were encountered: