You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running large scripts in the PowerShell extension for VS Code, the terminal becomes unresponsive, and execution stops unexpectedly. I expected the script to run fully without crashes, but VS Code freezes instead.
Open VS Code (code .)
Install PowerShell extension (ms-vscode.powershell@2025.0.0)
Open a large PowerShell script (.ps1 file with >1000 lines)
Run the script (F5 or Ctrl + F5)
VS Code terminal freezes, and no output is displayed.
"The script should execute successfully without freezing the VS Code terminal."
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Can you record a reproduction? You can use Win-Shift-R on Windows 11 to start recording, and you can paste the result directly into the issue or a comment reply.
Also please capture logs at the trace level as per the guidance.
Prerequisites
Summary
When running large scripts in the PowerShell extension for VS Code, the terminal becomes unresponsive, and execution stops unexpectedly. I expected the script to run fully without crashes, but VS Code freezes instead.
PowerShell Version
Visual Studio Code Version
Extension Version
ms-vscode.powershell@2025.0.0
Steps to Reproduce
Open VS Code (code .)
Install PowerShell extension (ms-vscode.powershell@2025.0.0)
Open a large PowerShell script (.ps1 file with >1000 lines)
Run the script (F5 or Ctrl + F5)
VS Code terminal freezes, and no output is displayed.
"The script should execute successfully without freezing the VS Code terminal."
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: