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.

PowerShell Integrated Console prompt does not appear

See original GitHub issue

PowerShell Integrated Console

After installing the Microsoft PowerShell Extension, it appears that I can choose a TERMINAL of “powershell” or “PowerShell Integrated Console.”

The “powershell” TERMINAL appears to work as expected, but no debugging can be done.

“”“Cannot debug or run a PowerShell script until the PowerShell session has started. Wait for the PowerShell session to finish starting and try again. “””

The “PowerShell Integrated Console” TERMINAL does not. It appears hung. It accepts no keyboard entry.

This is based on a fresh install of VS Code from VSCodeUserSetup-x64-1.45.1.exe.

Version: 1.45.1 (user setup)
Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date: 2020-05-14T08:27:35.169Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
PowerShell extension 2020.4.0
%USERPROFILE%\.vscode\extensions\ms-vscode.powershell-1.8.2\ms-vscode.powershell-1.8.2
    (PS: There is no "examples" subdirectory)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:71 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
MoonRaker58commented, Aug 12, 2020

@rjmholt I get a not authorized error with that build. I did try preview v2020.7.0 and it works so I’m going to use that one for a while. Thanks for the work.

2reactions
ArtisanByteCraftercommented, Jun 11, 2020

I seem to have pinpointed the exact release that started this behavior for me.

I downgraded every version of the PS Preview extension until the issue was fixed. I had to go back to v2020.1.0 for the issue to finally become resolved. Once i updated to 2020.2.0 or anything more recent, it breaks again. This might be useful for finding the bug, and for anyone who needs a working version in the mean time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Making VS Code's Powershell Integrated Console useful
I recently started using VS Code pretty heavily and I've had a fun time configuring it - especially getting synth wave glow working!...
Read more >
How do I customize the PowerShell Integrated Console ...
It's a blank prompt line with the path displayed in the GUI title bar that I use for all my profiles (PowerShell, ISE,...
Read more >
VSCode is suddenly defaulting to powershell for integrated ...
Reference: VSCode is suddenly defaulting to PowerShell for integrated terminal instead of $Bash in Windows. Note: This is not an solution.
Read more >
Using Visual Studio Code for PowerShell Development
Click on PowerShell: Show Session Menu. Choose the version of PowerShell you want to use from the list. If you installed PowerShell to...
Read more >
about Prompts - PowerShell | Microsoft Learn
The default prompt appears only when the Prompt function generates an error or does not return an object. The default PowerShell prompt is:....
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