-
Notifications
You must be signed in to change notification settings - Fork 517
Description
Issue Description
I am experiencing a problem with... VSCode debugger with Powershell integrated console set to Powershell Core version 7.1.3. The debugger launches, finds the first breakpoint in the entry point PS1 script file, executes to the first breakpoint - all good.
Immediately upon stepping over the breakpoint (F10), debugger hangs, terminal is non-responsive.
This MAY be related to #3410 , but unclear.
This is reproduceable.
VS Code settings:
{
"powershell.powerShellAdditionalExePaths": [
{
"exePath": "C:\Program Files\PowerShell\7\pwsh.exe",
"versionName": "PowerShell 7"
}
],
"powershell.powerShellDefaultVersion": "PowerShell 7",
"terminal.integrated.automationShell.windows": "C:\Program Files\PowerShell\7\pwsh.exe",
"terminal.external.windowsExec": "C:\Program Files\PowerShell\7\pwsh.exe",
"terminal.integrated.automationShell.osx": "",
"terminal.integrated.automationShell.linux": "",
"debug.javascript.autoAttachFilter": "smart",
"vs-kubernetes": {
"vscode-kubernetes.kubectl-path.windows": "C:\Users\genericuser\.vs-kubernetes\tools\kubectl\kubectl.exe",
"vscode-kubernetes.minikube-path.windows": "C:\Users\genericuser\.vs-kubernetes\tools\minikube\windows-amd64\minikube.exe",
"vscode-kubernetes.helm-path.windows": "C:\Users\genericuser\.vs-kubernetes\tools\helm\windows-amd64\helm.exe"
},
"mssql.connections": [
{
"server": "{{put-server-name-here}}",
"database": "{{put-database-name-here}}",
"user": "{{put-username-here}}",
"password": "{{put-password-here}}"
}
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell",
"path": "C:\Program Files\PowerShell\7\pwsh.exe"
},
"Command Prompt": {
"path": [
"${env:windir}\Sysnative\cmd.exe",
"${env:windir}\System32\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
},
"PowerShell 7": {
"path": "C:\Program Files\PowerShell\7\pwsh.exe",
"args": []
}
}
}
Attached Logs
EditorServices.log
StartEditorServices.log
vscode-powershell.log
Environment Information
Visual Studio Code
Name | Version |
---|---|
Operating System | Windows_NT x64 10.0.19043 |
VSCode | 1.57.0 |
PowerShell Extension Version | 2021.5.1 |
PowerShell Information
Name | Value |
---|---|
PSVersion | 7.1.3 |
PSEdition | Core |
GitCommitId | 7.1.3 |
OS | Microsoft Windows 10.0.19043 |
Platform | Win32NT |
PSCompatibleVersions | 1.0 2.0 3.0 4.0 5.0 5.1.10032.0 6.0.0 6.1.0 6.2.0 7.0.0 7.1.3 |
PSRemotingProtocolVersion | 2.3 |
SerializationVersion | 1.1.0.1 |
WSManStackVersion | 3.0 |
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
Extension | Author | Version |
---|---|---|
armview | bencoleman | 0.4.5 |
azure-account | ms-vscode | 0.9.8 |
azure-pipelines | ms-azure-devops | 1.188.1 |
azurecli | ms-vscode | 0.5.0 |
azurerm-vscode-tools | msazurermtools | 0.15.1 |
debugger-for-chrome | msjsdiag | 4.12.12 |
markdown-all-in-one | yzhang | 3.4.0 |
mssql | ms-mssql | 1.10.1 |
npm-intellisense | christian-kohler | 1.3.1 |
powershell | ms-vscode | 2021.5.1 |
remote-containers | ms-vscode-remote | 0.183.0 |
remote-wsl | ms-vscode-remote | 0.56.5 |
rest-client | humao | 0.24.5 |
vscode-aks-tools | ms-kubernetes-tools | 0.0.8 |
vscode-apimanagement | ms-azuretools | 1.0.2 |
vscode-azureappservice | ms-azuretools | 0.22.0 |
vscode-azurefunctions | ms-azuretools | 1.4.0 |
vscode-azureresourcegroups | ms-azuretools | 0.4.0 |
vscode-azurestorage | ms-azuretools | 0.12.1 |
vscode-azurevirtualmachines | ms-azuretools | 0.4.0 |
vscode-bicep | ms-azuretools | 0.4.63 |
vscode-commons | redhat | 0.0.6 |
vscode-cosmosdb | ms-azuretools | 0.16.0 |
vscode-docker | ms-azuretools | 1.13.0 |
vscode-dotnet-runtime | ms-dotnettools | 1.1.0 |
vscode-eslint | dbaeumer | 2.1.23 |
vscode-kubernetes-tools | ms-kubernetes-tools | 1.3.3 |
vscode-markdownlint | DavidAnson | 0.42.1 |
vscode-node-azure-pack | ms-vscode | 0.2.1 |
vscode-npm-script | eg2 | 0.3.22 |
vscode-yaml | redhat | 0.19.2 |