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
I posted this in wrong Git (on vcode directly) if it can help :
**ello !
The new version with PowerShell is a lot better, still I cannot debug my script by running it through Terminal because PowerShell App will crash.
VSCode Version: 1.10.2
OS Version: Windows Server 2012 R2
Steps to Reproduce:
Have Powershell module for VSCode installed
Open Powershell script that use Args
Press F5 to debug once (do whatever, stop debug)
Put debug point in the script
Now I want to run my script with args :
-so I type in the Powershell terminal the command with args (with a debug point in the script)
-As soon as I hit enter to run the command, "Powershell" application crash
You can see on picture bellow 👍
This change fixes a crash that occurs when a breakpoint is hit at a time
when the debugger is not active. This is caused by some event handlers
being registered prematurely in the DebugAdapter before it gets activated
by VS Code.
FixesPowerShell/vscode-powershell#620.
Repro steps
Set-PSBreakpoint -Script <script> -Line <##>
The text was updated successfully, but these errors were encountered: