question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected characters in VSCode PS Integrated shell commands

See original GitHub issue

Issue Description

After upgrading the PS Extension in VS Code to 2020.4.0, I noticed the PS Integrated Shell showing garbage characters when trying to type any commands.

Example showing strange extra characters after only typing dir: VSCode.PS.CmdLineMess.jpg

Attached Logs

Note to Team: The README link to the Reporting Problems below returns a 404 Not Found.

Follow the instructions in the README about capturing and sending logs.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 6.3.9600
VSCode 1.44.1
PowerShell Extension Version 2020.4.0

PowerShell Information

Name Value
PSVersion 5.1.14409.1018
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.14409.1018
BuildVersion 10.0.14409.1018
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
csharp ms-dotnettools 1.21.17
gc-excelviewer GrapeCity 2.1.34
kuskus-extensions-pack rosshamish 1.0.1
kuskus-kusto-color-themes rosshamish 0.1.0
kuskus-kusto-language-server rosshamish 1.0.1
kuskus-kusto-syntax-highlighting rosshamish 1.1.8
material-icon-theme PKief 4.0.1
mssql ms-mssql 1.9.0
powershell ms-vscode 2020.4.0
rainbow-csv mechatroner 1.6.0
team ms-vsts 1.161.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Schwanowskicommented, Apr 27, 2020

I have had the same issue and the workaround worked for me too.

1reaction
ZZStonercommented, Apr 17, 2020

Thanks. The workaround unblocked me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Terminal launch failures - Visual Studio Code
Try running your designated integrated terminal shell outside VS Code from an external terminal or command prompt. Some terminal launch failures may be...
Read more >
c++ - Having trouble compiling in VS Code terminal, which is ...
10 Answers 10 · Go to "View" -> select "Command Palette" · Enter "terminal:Select Default Profile" · Set to command prompt.
Read more >
How to change Visual Studio Code 'Powershell Integrated ...
Use the Ctrl+` keyboard shortcut with the backtick character. Use the View > Terminal menu command. From the Command Palette ...
Read more >
Understanding file encoding in VS Code and PowerShell
Encoding problems occur when the encoding of VS Code or your script file doesn't match the expected encoding of PowerShell. There is no...
Read more >
PowerShell - The underlying connection was closed: An ...
SOLVED: The underlying connection was closed: An unexpected error occurred on a send when using PowerShell Invoke-Restmethod ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found