-
Notifications
You must be signed in to change notification settings - Fork 511
Timed out waiting for the PowerShell extension to start when Start debugging before extension starts #2358
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
$psEditor.EditorServicesVersion
|
vscode-powershell.log
DebugAdapter.log
|
@gbuktenica thanks for opening this issue, we recently published an update to our Preview extension that may solve this issue, please let us know if you are able to try it out..thanks! |
Hi @SydneyhSmith I have just tried with the Preview Extension and I get the same behaviour. |
@gbuktenica thanks for opening providing the steps, I am able to reproduce this...we are still investigating how to best resolve this issue--thanks! |
I have the same problem with v2020.4.0 |
@virovets64 yes I still have the problem with
PSVersion 7.0.0 |
I have a partial fix to this... pressing play with start the extension now, but it'll say you need to wait for it to finish starting. At least it's two clicks of the same button, rather than opening a PS file. |
I think this has been fixed (and is about to be better fixed by #4888). |
This issue has been labeled as resolved, please verify the provided fix (or other reason). |
This issue has been labeled as needing fix verification and has not had any activity a week. It has been closed for housekeeping purposes. |
System Details
Windows 10
1.40.2
2019.11.0
$PSVersionTable
7.0.0-preview.6
5.1.18362.145
Issue Description
I am experiencing a problem with running a PowerShell debug configuration.
"PowerShell: Launch a Script"
If I do not open a ps1 file first the debugger will time out waiting for PowerShell to start.
Error: Timed out waiting for the PowerShell extension to start.
Repro Instructions
Open VSCode
Open a Folder with a launch.json and a PowerShell Script
Note: DO NOT open any POWERSHELL scripts
Open the debugger Control + Shift + D
Launch a configuration PowerShell Launch a script.
Expected Behaviour
The Launch should Run
Actual Behaviour
Error: Timed out waiting for the PowerShell extension to start.
Work around
Open a PowerShell script in the editor
Extension starts PowerShell
Run the debug configuration.
It will now work.
The text was updated successfully, but these errors were encountered: