Skip to content

Output not displaying in Debug Console for Powershell #299

New issue

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

Closed
clumnah opened this issue Sep 20, 2016 · 2 comments
Closed

Output not displaying in Debug Console for Powershell #299

clumnah opened this issue Sep 20, 2016 · 2 comments

Comments

@clumnah
Copy link

clumnah commented Sep 20, 2016

Please fill in these details so that we can help you!

System Details

  • Operating system name and version: Windows 10
  • VS Code version: 1.5.2
  • PowerShell extension version: 0.7.2
  • Output from $PSVersionTable:
    PS D:\OneDrive\Documents\WindowsPowerShell> $PSVersionTable

Name Value


PSVersion 5.1.14393.187
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.187
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

PS D:\OneDrive\Documents\WindowsPowerShell>

Evaluate $PSVersionTable in PowerShell and paste the output here

Issue Description

I have a simple script that does nothing more than

Write-host "Hello World"
Or
Write-Output "Hello World"

Regardless of which I use, neither will produce any output in the Debug Console.

Attached Logs

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

@daviwil
Copy link
Contributor

daviwil commented Sep 20, 2016

Hey @clumnah, now I see what you were referring to on Twitter. This is currently a known issue with the PowerShell extension, something we're working to fix for the next release (within 2-4 weeks). I'm closing this issue as a duplicate of issue #284 since we've been tracking it there.

If you don't need the full features of the debugger, you can select code in your script file and hit the F8 key to execute it and see the output in a non-interactive window. The output of your script should show correctly in that case.

@daviwil daviwil closed this as completed Sep 20, 2016
@clumnah
Copy link
Author

clumnah commented Sep 20, 2016

Ok thank you for looking into the bug. Glad it already being looked at slated to be fixed. I am really looking forward to transitioning over to Code from ISE.

From: David Wilson [mailto:[email protected]]
Sent: Tuesday, September 20, 2016 5:29 PM
To: PowerShell/vscode-powershell [email protected]
Cc: clumnah [email protected]; Mention [email protected]
Subject: Re: [PowerShell/vscode-powershell] Output not displaying in Debug Console for Powershell (#299)

Hey @clumnah https://github.com/clumnah , now I see what you were referring to on Twitter. This is currently a known issue with the PowerShell extension, something we're working to fix for the next release (within 2-4 weeks). I'm closing this issue as a duplicate of issue #284 #284 since we've been trackign it there.

If you don't need the full features of the debugger, you can select code in your script file and hit the F8 key to execute it and see the output in a non-interactive window. The output of your script should show correctly in that case.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #299 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/AVTAyP9dLY6TjDg9aGG47HDa_MWKaEvyks5qsFAqgaJpZM4KCKPy . https://github.com/notifications/beacon/AVTAyAO0XNDSldElMovZ0bL8bD1TL-rqks5qsFAqgaJpZM4KCKPy.gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants