Skip to content
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

connect enoent error #4332

Closed
6 tasks done
Mlsoun opened this issue Dec 15, 2022 · 6 comments
Closed
6 tasks done

connect enoent error #4332

Mlsoun opened this issue Dec 15, 2022 · 6 comments
Labels
Issue-Bug A bug to squash. Resolution-Answered Will close automatically.

Comments

@Mlsoun
Copy link

Mlsoun commented Dec 15, 2022

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

restart pwsh konsole (click on Trash icon). After this press F5 for Debug. Error message "connect enoent \.\pipe\pses_jvpn4k2y.dfi"

PowerShell Version

7.3.1

Visual Studio Code Version

1.74.1

Extension Version

Powershell v2022.11.0

Steps to Reproduce

restart pwsh konsole (click on Trash icon). After this press F5 for Debug. Error message "connect enoent \.\pipe\pses_jvpn4k2y.dfi"

Visuals

image

Logs

No response

@Mlsoun Mlsoun added the Issue-Bug A bug to squash. label Dec 15, 2022
@ghost ghost added the Needs: Triage Maintainer attention needed! label Dec 15, 2022
@andyleejordan
Copy link
Member

If you've clicked the trash icon, you've closed the PowerShell Extension Terminal, so then trying to debug isn't going to work unless you restart the terminal. Can you first ensure the extension terminal is started?

@andyleejordan andyleejordan added Needs: Author Feedback Please give us the requested feedback! and removed Needs: Triage Maintainer attention needed! labels Dec 21, 2022
@Mlsoun
Copy link
Author

Mlsoun commented Dec 21, 2022

Yes - you are absolutely right. Terminal is not running and Error occurs. This is the reason.
I have the news. Normally two notifications windows are popup and I click on Yes - it restarts the powershell extension terminal and then I can start debugging again without problem.
image
Now I discovered the real procedure to simulate the error -
I press F5 for debugging the code and when terminal is waiting for user input on Read-Host instruction and I click on Trash icon, the second notification windows does not appear (this is a bug I mean) and I cannot click on Yes for restarting terminal. When I press F5 for debugging, the reported Error message "connect enoent .\pipe\pses_jvpn4k2y.dfi" occurs. Now helps only close and start the VSCode

@ghost ghost added Needs: Maintainer Attention Maintainer attention needed! and removed Needs: Author Feedback Please give us the requested feedback! labels Dec 21, 2022
@Mlsoun
Copy link
Author

Mlsoun commented Dec 21, 2022

Next progress - Close the VSCode is not needed - just press Ctrl +Shift+P , type "restart" and select "Powershell: Restart session". Than I can start debugging
image

@andyleejordan
Copy link
Member

Sounds good. Just make sure you keep that Extension Terminal up if you want to use it. As that notice notes, IntelliSense and other features (such as debugging and F5 etc.) will not work without it! I would recommend just not clicking the trash icon.

@andyleejordan andyleejordan added Resolution-Answered Will close automatically. and removed Needs: Maintainer Attention Maintainer attention needed! labels Dec 21, 2022
@Mlsoun
Copy link
Author

Mlsoun commented Dec 22, 2022

The reason why I click on the Trash icon is because IntelliSense has stopped working. Now should I find How can i reset the Intellisense :-)

@ghost ghost closed this as completed Dec 23, 2022
@ghost
Copy link

ghost commented Dec 23, 2022

This issue has been marked as answered and has not had any activity in a day. It has been automatically closed for housekeeping purposes.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash. Resolution-Answered Will close automatically.
Projects
None yet
Development

No branches or pull requests

2 participants