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 can make a command engage the debugger by running my command like wait-debugger;My-Cmdlet argument. I have to hit F11 once or twice to actually get into the script, but then it works fine.
However, if I remove the breakpoints that I set and run the command like My-Cmdlet argument it continues to break on the lines where the breakpoints were set, but no longer show in the interface. Obviously, it should not be breaking.
The only way I know to make it stop doing that is to restart VS Code, or maybe restarting the Powershell extension would work.
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Thanks @Rom265 , this is because we don't sync breakpoints, VScode doesn't update until you restart the debug session...we have an open PR for this #4065 we plan to get back to this work shortly
Prerequisites
Summary
If I remove debugger breakpoints, code execution continues to break. This happens every time.
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
I can make a command engage the debugger by running my command like
wait-debugger;My-Cmdlet argument
. I have to hit F11 once or twice to actually get into the script, but then it works fine.However, if I remove the breakpoints that I set and run the command like
My-Cmdlet argument
it continues to break on the lines where the breakpoints were set, but no longer show in the interface. Obviously, it should not be breaking.The only way I know to make it stop doing that is to restart VS Code, or maybe restarting the Powershell extension would work.
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: