-
Notifications
You must be signed in to change notification settings - Fork 513
Cannot start powershell 6 in debug on vscode #1703
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
Comments
I just realised I'd already raised a bug-report in this repo for a previous issue (#1658 ) which may or may not be related... it's a completely different failure, but if there's an underlying problem it may be related. |
I have identified the issue - this is a problem with VS Code Live Share - when I disable that extension, the problem goes away. Not sure where to raise this - on that repo or here? |
@LazerFX is this what you're seeing: |
It is indeed - already reported, thanks for the heads up. I missed that when searching, sorry for the inconvenience. For those reading elsewhere, this is fixed in microsoft/vscode#61649 which will has a patch already in progress. |
Trying to run
pwsh.exe
as a debug environment does not work in vscode. The terminal starts, but appears to disconnect from the environment immediately. Looking at the logs, I see:Attempting to run the command manually, I get the following output:
This also fails if I use
powershell.exe
as the source, that also wants a string rather than an array.Once I remove the
-FeatureFlags @()
section of the command, I get a comman line withPowerShell Integrated Terminal
that apparently does nothing (I suspect because it's told to receive and pipe its output externally).Versions:
VSCode version: 1.30.2 61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8 x64
VSCode extensions:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
PSES version: 1.10.2.0
PowerShell version:
Name Value
PSVersion 6.1.0
PSEdition Core
GitCommitId 6.1.0
OS Microsoft Windows 10.0.17763
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Modified settings (User):
Modified Settings (Folder):
The text was updated successfully, but these errors were encountered: