-
Notifications
You must be signed in to change notification settings - Fork 511
VSCODE- Insiders: Timed out waiting for the PowerShell extension to start #1046
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
If you set script analysis to false (in your settings):
and reload VSCode Insiders, does it still timeout? |
Just tried it, and yes, still the same behavior. |
I have the same behavior in VS Code 1.18.0. The PowerShell extension does not start. |
Build from 10-10-2017 has the same issue. |
I'm seeing the same issue.
|
Insiders build from 16/10/2017 with extension 1.4.3 has the same issue. Settings on user level:
Launch.json
I don't think this deserves a smiley ;) |
This issue was reported in VS Code repo also, but as per explanation there, it is a PowerShell issue: "VSCode has deprecated some API that Powershell is using. Powershell needs to update to this." |
I plan to look into this tonight. |
Been looking at this for several hours. In the past, debug protocol changes have been minimal and simple to implement. However, the required changes for this change are bit more extensive than I was hoping they would be. It's going to take a little while. I'm hopeful we'll get this implemented before VSCode 1.18 drops. |
Some progress tonight. Finally got to the point where the PowerShell debugger is started. No breakpoints are being hit but this is better than last night. :-) |
Awesome Keith, one step at a time. The most important thing is, it's not broken in the stable version. Only for us, the beta guinea pigs 😃 |
Woohoo. Basic debugging is working. Now just need to test the various (and numerous) debug configurations. |
Great news, thanks :-) |
Fix #1046 Fix warning in status bar about ThemeColor This fix requires PSES PR 556 to eliminate one PSES cause of the debug adapter to crash. Also npm generated a package-lock.json file which, from what I've read, should be checked in. I haven't included it in this PR - yet. Thoughts? Also, I updated min VSCode version to 1.17.0. I'm not sure when the new DebugConfigurationProvider API was intro'd. I have tested with 1.17.2 and it works there so I'm reasonably confident it will work in 1.17.0. We might be able to reach back a bit further. We'd have to find out when this API was intro'd.
PR for the fix has been submitted - pending review. |
BTW there is still an issue with "Attach to process" debugging. Separate issue that has me scratching my head. Might need @daviwil help on that one. |
@rkeithhill @daviwil: I second that. It would be super great if you guys could fix "attach to process" bug. It's really making my d2d work hard. |
Fix #1046 Fix warning in status bar about ThemeColor This fix requires PSES PR 556 to eliminate one PSES cause of the debug adapter to crash. Also npm generated a package-lock.json file which, from what I've read, should be checked in. I haven't included it in this PR - yet. Thoughts? Also, I updated min VSCode version to 1.17.0. I'm not sure when the new DebugConfigurationProvider API was intro'd. I have tested with 1.17.2 and it works there so I'm reasonably confident it will work in 1.17.0. We might be able to reach back a bit further. We'd have to find out when this API was intro'd.
The original issue should be fixed with the 1.5.0 release. We are tracking the attach to process issue in the PSES repo - PowerShell/PowerShellEditorServices#551 |
I get this on the v1.17 release as well, it seems very hit and miss. |
I'm using V1.19.3 and Windows 7 Professional. |
Can you give this a try and let me know how it goes? #1048 (comment) |
System Details
$PSVersionTable
: 5.1.15063.632Issue Description
Error: Timed out waiting for the PowerShell extension to start.
This seems to be specific for latest 1.18 insiders build. All works normally on 1.17 public version.
I tried multiple computers and its the same behaviour.
PowerShell extension is timing out when pressing F5, or trying to start any script.
Steps to reproduce
Expected behaviour is to diplay 1 in console. But, nothing actually happens. After some time, time out error will appear.
Attached Logs
logs.zip
The text was updated successfully, but these errors were encountered: