-
Notifications
You must be signed in to change notification settings - Fork 508
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
When opening VSCode and when running PowerShell scripts, PowerShell crashes #5088
Closed
5 of 6 tasks
Labels
Issue-Bug
A bug to squash.
Needs: Fix Verification
Please verify the fix for us!
Resolution-Duplicate
Will close automatically.
Comments
Logs show
Closing as dupe of #5084. We're working on it! :) |
This issue has been labeled as resolved, please verify the provided fix (or other reason). |
6 tasks
Hey @DawnWertz the pre-release v2024..5.1-preview should be fixed for this. Can you give it a try and report back? |
I installed the pre-release and I am able to run PowerShell 5.1 scripts. Thank you.
From: Andy Jordan ***@***.***>
Sent: Tuesday, November 19, 2024 1:58 PM
To: PowerShell/vscode-powershell ***@***.***>
Cc: Wertz,Dawn M. ***@***.***>; Mention ***@***.***>
Subject: [External] Re: [PowerShell/vscode-powershell] When opening VSCode and when running PowerShell scripts, PowerShell crashes (Issue #5088)
You don't often get email from ***@***.******@***.***>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
This email is from an external source. Please exercise caution in opening attachments or links.
Hey @DawnWertz<https://github.com/DawnWertz> the pre-release v2024..5.1-preview should be fixed for this. Can you give it a try and report back?
-
Reply to this email directly, view it on GitHub<#5088 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AE5QFHS4EACMRUET3PZVSA32BOC3DAVCNFSM6AAAAABRXHEM5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGUYDKNZYGY>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
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.
Needs: Fix Verification
Please verify the fix for us!
Resolution-Duplicate
Will close automatically.
Prerequisites
Summary
I have a fresh install of VSCode with only the PowerShell extension installed. When I open VSCode, the PowerShell terminal crashes
Error PowerShell session unavailable for debugging!.
Error PowerShell Language Server process didn't start!
Error Loading the PowerShell extension is taking longer than expected. If you're using privilege enforcement software, this can affect start up performance.
. After the errors, a dialog box of "Couldn't find a debug adapter descriptor for debug type 'PowerShell' (extension might have failed to activate)."
LOG:
11/13/2024 1:54:01 PM [NORMAL] - Visual Studio Code: v1.95.2 64-bit on Windows 64-bit
11/13/2024 1:54:01 PM [NORMAL] - PowerShell Extension: v2024.4.0
11/13/2024 1:54:01 PM [NORMAL] - Starting 'Windows PowerShell (x64)' at: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
11/13/2024 1:54:02 PM [NORMAL] - PowerShell process started with PID: 17892
11/13/2024 1:54:11 PM [WARNING] - PowerShell process terminated or Extension Terminal was closed, PID: 17892
11/13/2024 1:54:12 PM [ERROR] - Extension Terminal is undefined.
11/13/2024 1:54:12 PM [ERROR] - PowerShell Language Server process didn't start!
11/13/2024 1:54:52 PM [NORMAL] - Starting 'Windows PowerShell (x64)' at: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
11/13/2024 1:54:52 PM [NORMAL] - PowerShell process started with PID: 9120
11/13/2024 1:55:22 PM [WARNING] - Loading the PowerShell extension is taking longer than expected. If you're using privilege enforcement software, this can affect start up performance.
11/13/2024 1:58:54 PM [ERROR] - Timed out waiting for session file!
11/13/2024 1:58:55 PM [ERROR] - PowerShell Language Server process didn't start!
11/13/2024 1:58:55 PM [ERROR] - PowerShell session unavailable for debugging!
PowerShell Version
Visual Studio Code Version
Extension Version
ms-vscode.powershell@2024.4.0
Steps to Reproduce
Install VSCode
Install the PowerShell extension
Open VSCode. PowerShell Terminal crashes.
Open a PowerShell Script
Run the PowerShell Script
PowerShell terminal crashes
I am able to run commands in the PowerShell terminal window prior to its crashing, I just cannot run scripts.
Visuals
No response
Logs
StartEditorServices-6044.log
StartEditorServices-16448.log
vscode-powershell.log
The text was updated successfully, but these errors were encountered: