-
Notifications
You must be signed in to change notification settings - Fork 511
PowerShell Integrated Console does not appear #2835
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
Having the exact same issue here, but didn't have it before... |
Thanks--looks like the same issue as #2808 |
You're right, updating to 1.47.3 VSCode has resolved my issue. Now I can run scripts as admin - without any errors. Thank you! |
@jsantoro339as hi, your issue appears to be a duplicate of #5084. Please try PowerShell 7, or rollback to the previous stable version, while we work on addressing the root cause. Thanks! |
I tried with PS 7 and same result. Then I completely removed it and all references of it and did a clean install of version 1.94.2 and am getting the same errors seen above. I have more of a feeling that maybe it is the Official PowerShell Extension, any thoughts? |
We're pushing out a pre-release soon that should hopefully address it. I'll let you know when to try it. |
PowerShell Integrated Console does not appear at all. When I hit F5 to run random .ps1 script, I got error "Couldn't find a debug adapter descriptor for debug type 'PowerShell' (extension might have failed to activate)".
I can't get PS extension logs due to error: "command 'PowerShell.GenerateBugReport' not found".
I tried to reinstall VS Code, to reinstall the PS extension, to install the preview version of the extension.
I have two user accounts on my PC - 1) admin and 2) non-admin user. And I'm getting issues only when I run VS code as an administrator.
Of course, I tried replacing all admin VSCode settings with non-admin user settings - that didn't work.
launch.json:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File",
"script": "${file}",
"args": [],
"cwd": "${file}"
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File in Temporary Console",
"script": "${file}",
"args": [],
"cwd": "${file}",
"createTemporaryIntegratedConsole": true
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Launch Current File w/Args Prompt",
"script": "${file}",
"args": [
"${command:SpecifyScriptArgs}"
],
"cwd": "${file}"
},
{
"type": "PowerShell",
"request": "attach",
"name": "PowerShell Attach to Host Process",
"processId": "${command:PickPSHostProcess}",
"runspaceId": 1
},
{
"type": "PowerShell",
"request": "launch",
"name": "PowerShell Interactive Session",
"cwd": ""
}
]
}
code -v
1.47.2
17299e413d5590b14ab0340ea477cdd86ff13daf
x64
code --list-extensions --show-versions
[email protected]
[email protected]
[email protected]
[email protected]
$PSVersionTable
Name Value
PSVersion 5.1.18362.752
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.18362.752
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
The text was updated successfully, but these errors were encountered: