Skip to content

Start-Transcript in Integrated Terminal does not capture all output #74698

@johnwildes

Description

@johnwildes

Issue Type: Bug

I have a powershell profile configured on my workstation. When I launch PowerShell Core 6.2.1 outside of VSCode it loads my profile. Part of this profile is start-transcript. When this runs in the PowerShell cmd window outside of VSCode all output is logged to the transcript as expected.

When the same profile is loaded in the VS integrated terminal window, the only thing that gets logged are the commands typed at the prompt and none of the output.

In this specific case I was running Terraform operations, and wanted to review previous histories, and found that it was not saving it in the transcript. If I run Terraform operations from the normal PowerShell cmd window, all that output is saved.

I've attached the PowerShell transcript file, as well as a graphical output of what should have been in that file from the integrated terminal window

VS Code version: Code 1.34.0 (a622c65, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.18362

[PowerShell_transcript.LOKI.RqwwF6bX.20190531153831.txt](https://github.com/microsoft/vscode/files/3242847/PowerShell_transcript.LOKI.RqwwF6bX.20190531153831.txt) ![TranscriptOutputIssue-2019-05-31_15-56-25](https://user-images.githubusercontent.com/1375512/58734329-cee95800-83bc-11e9-85ec-b705aece0476.png) System Info
Item Value
CPUs Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz (4 x 2496)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.93GB (5.42GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (31)
Extension Author (truncated) Version
docs-toc cil 1.5.0
vscode-markdownlint Dav 0.27.0
docs-article-templates doc 0.2.2
docs-authoring-pack doc 0.1.2
docs-markdown doc 0.2.5
docs-preview doc 0.3.19
docs-yaml doc 0.2.1
gitlens eam 9.8.1
vsc-material-theme Equ 2.9.0
terraform mau 1.3.11
azure-pipelines ms- 1.152.0
vscode-azureappservice ms- 0.14.0
vscode-azurefunctions ms- 0.17.1
vscode-azurestorage ms- 0.7.0
vscode-azureterraform ms- 0.2.3
vscode-cosmosdb ms- 0.10.2
vscode-logicapps ms- 0.1.22
vscode-kubernetes-tools ms- 1.0.0
mssql ms- 1.6.0
azure-account ms- 0.8.4
azurecli ms- 0.4.5
Go ms- 0.10.2
powershell ms- 2019.5.0
vscode-node-azure-pack ms- 0.0.6
vscode-typescript-tslint-plugin ms- 1.1.0
team ms- 1.149.2
azurerm-vscode-tools msa 0.6.0
vscode-docker Pet 0.6.2
vscode-yaml red 0.4.1
code-spell-checker str 1.7.12
azure-iot-toolkit vsc 2.7.0

(2 theme extensions excluded)

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS Codeinfo-neededIssue requires more information from posterterminalGeneral terminal issues that don't fall under another label

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions