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.

pwsh on debian buster - buffers problem in shell mode

See original GitHub issue

Steps to reproduce

Run pwsh on Debian Buster (Debian 10) and starts to type commands.

Expected behavior

pwsh is usable, user can type commands and read outputs.

Actual behavior

There seems to be a problem with the buffers. Typing commands and running them does not work after the first one. Like if the buffers get unsynchronized with the inputs/outputs of the terminal.

Environment data

I reproduce this problem with a snap install of pwsh and with the tar.zf archive.

PS /opt> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.2.3
PSEdition                      Core
GitCommitId                    6.2.3
OS                             Linux 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28)
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
TylerLeonhardtcommented, Oct 11, 2019

Ok in that case, the correct repo would be:

https://github.com/Microsoft/vscode

since you are not using the “PowerShell Integrated Console”, this issue is with VSCode itself - not the PowerShell extension

and since it works outside of VSCode, it’s not a PowerShell bug either.

Can you open this over there? Make sure you’re clear in saying that it works outside of vscode and that you’re using gitbash as your shell in vscode.

Also tag me in it so I can jump in if need be.

<div> GitHub</div><div>microsoft/vscode</div><div>Visual Studio Code. Contribute to microsoft/vscode development by creating an account on GitHub.</div>
0reactions
msftbot[bot]commented, Oct 12, 2019

This issue has been marked as external and has not had any activity for 1 day. It has been be closed for housekeeping purposes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing PowerShell on Debian Linux
Information about installing PowerShell on Debian Linux. ... After the package is installed, run pwsh from a terminal. Run pwsh-preview if ...
Read more >
https://release.debian.org/proposed-updates/bookwo...
then - echo '<details><summary>View HotSpot error log</summary>' - echo ... --resolve-deps - buster - sysroot - https://httpredir.debian.org/debian/ - if: ...
Read more >
python - How to disable stdout buffer when running shell
When I set the command as stdbuf -o0 sh abc.sh , the output is still buffered. Not sure where the problem is. –...
Read more >
Vim 9.0
I'm pretty sure that Neovim's server mode, which allows it to be used with other editor frontends, is simply not present in vim....
Read more >
CHANGELOG.md · v16.0.2 · GitLab.org / gitlab-runner
Revert "Fix go.mod to downgrade doublestar to v1.3.0 to be same as main" !3842; Add pwsh to supported shells for docker-windows executor !...
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