-
Notifications
You must be signed in to change notification settings - Fork 523
Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
- I have read the troubleshooting guide.
- I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
Summary
I initially posted this in the Azure Data Studio forum, that is the only place I am seeing this, within VS Code it is working.
When running a Powershell file if I want to run the entire file it generates this error:
"Running the contributed command: 'Powershell.Debug.Start' failed.
I can highlight all the content and use the "run selected" command and that works
I can put the content in a notebook cell and that works, just when I open a file and try to run the entire file without highlighting.
I have tried this on a few computers (co-workers, virtual machines, etc), so I'm pretty sure it is not something with my installation.
PowerShell Version
PS C:\> $PSVersionTable
Name Value
---- -----
PSVersion 7.1.4
PSEdition Core
GitCommitId 7.1.4
OS Microsoft Windows 10.0.19043
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Visual Studio Code Version
PS C:\> azuredatastudio --version
1.31.1
65fb22cc7c36db9c53af1ed2fdbdf48f66c682be
x64
PS C:\>Extension Version
ms-vscode.powershell@2021.5.1
PS C:\> azuredatastudio --list-extensions --show-versions | select-string powershell
ms-vscode.powershell@2021.8.0
PS C:\>Steps to Reproduce
Start New File in Azure Data Studio, Select Powershell, write any powershell command, try to run, above error is is produced. When you select all and run selection, it works.
Visuals
No response
Logs
No response