Skip to content

VSCode Terminal drops output from AWS CLI #42847

Closed

Description

@jdalley

I had posted this as a question on Stack Overflow and unfortunately hadn't received any insight from it - so I was encouraged to drop this here as an issue.

Summary:
While running some AWS CLI commands recently via Powershell in the VSCode terminal, I noticed it completely drops/doesn't render all the output.

  • VSCode Version: 1.19.3
  • OS Version: Windows 10 Pro (Version 1709, Build 16299.214)
  • Powershell PSVersion: 5.1.16299.98

Steps to Reproduce:

  1. On a machine with AWS CLI set up, make a call that results in a moderate size (50+ lines) of output. In my case I used: aws elb describe-load-balancers.
  2. This command will show anywhere between 14 and 122 lines of output before returning (cut-off) to the prompt. Whereas if I take the same command and run it in a standalone instance of Powershell it will print all 971 lines.

Additional Information:

  • This happens on a fresh terminal window with no previous buffered lines.
  • I'm using the same powershell .exe configured in VSCode's terminal as I ran standalone:
    "powershell.powerShellExePath": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "terminal.integrated.shell.windows":"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
  • This doesn't seem to be caused by the terminal.integrated.scrollback setting - it's set quite high, and like I said it can get cut off at a low number of printed lines.

Does this issue occur when all extensions are disabled?: Yes

Activity

  1. added
    terminal
    on Feb 2, 2018
  2. Tyriar commented on Feb 21, 2018

    @Tyriar
    Contributor

    Jeff Dalley (@jdalley) I notice you are using the powershell extension, does this happen when running through on of the extension's integrated consoles?

  3. added
    info-needed
    on Feb 21, 2018
  4. jdalley commented on Feb 21, 2018

    @jdalley
    Author

    This does happen through the "PowerShell Integrated Console" as well as the default Integrated Terminal - both will cut off output.

  5. added
    bug
    upstream
    windows
    and removed
    info-needed
    on Mar 7, 2018
  6. Tyriar commented on Jun 21, 2018

    @Tyriar
    Contributor

    This is likely related to winpty, tracking in #45693

  7. added
    *duplicate
    on Jun 21, 2018
  8. locked and limited conversation to collaborators on Aug 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatebugterminalupstreamwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions