We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am experiencing a problem with exceptions that are not written to the terminal. E.g. I have a simple test.ps1:
test.ps1
throw "test exception"
When running the script with F5 or CTRL-F5 it has three different behaviours seemingly picked randomly:
test exception At D:\Work\github\cveld\tse-drive\PowerShell\Initialize-Stubs.ps1:8 char:1
test exception At D:\Work\github\cveld\tse-drive\PowerShell\Initialize-Stubs.ps1:8 char:1 + throw "test exception" + ~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (failure:String) [], RuntimeException
When run from the terminal just by typing .\test.ps1 it prints the exception as mentioned under option 3.
.\test.ps1
1585241127-448db9c0-588f-43cc-84e0-929f8d852e6c1585049100726.zip
The text was updated successfully, but these errors were encountered:
Duplicate of #2576 and fixed already pending a release.
The fix already in the PowerShell Preview extension.
You can still use whatever version of PowerShell you'd like. This is the Preview build of the vs code extension.
Sorry, something went wrong.
This issue has been marked as duplicate and has not had any activity for 1 day. It has been closed for housekeeping purposes.
No branches or pull requests
Issue Description
I am experiencing a problem with exceptions that are not written to the terminal.
E.g. I have a simple
test.ps1
:When running the script with F5 or CTRL-F5 it has three different behaviours seemingly picked randomly:
When run from the terminal just by typing
.\test.ps1
it prints the exception as mentioned under option 3.Attached Logs
1585241127-448db9c0-588f-43cc-84e0-929f8d852e6c1585049100726.zip
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: