Closed
Description
Issue Description
Debugging an Azure Function using the PowerShell extension for VS Code.
Attached Logs
Follow the instructions in the README about
capturing and sending logs.
Environment Information
Visual Studio Code
Name | Version |
---|---|
Operating System | Darwin x64 20.2.0 |
VSCode | 1.52.1 |
PowerShell Extension Version | 2020.6.0 |
PowerShell Information
Name | Value |
---|---|
PSVersion | 7.1.1 |
PSEdition | Core |
GitCommitId | 7.1.1 |
OS | Darwin 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020, root:xnu-7195.60.75~1/RELEASE_X86_64 |
Platform | Unix |
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.1 |
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 |
---|---|---|
aws-toolkit-vscode | amazonwebservices | 1.18.0 |
azure-account | ms-vscode | 0.9.4 |
azurerm-vscode-tools | msazurermtools | 0.14.0 |
gitlens | eamodio | 11.1.3 |
powershell | ms-vscode | 2020.6.0 |
vscode-azurefunctions | ms-azuretools | 1.1.0 |
vscode-dotnet-runtime | ms-dotnettools | 1.0.0 |
vscode-icons | vscode-icons-team | 11.1.0 |
vscode-logicapps | ms-azuretools | 1.0.2 |
Problem description
I hope the two attached animations make the point: I cannot debug an Azure Function in VS Code. As you can see, it's possible to do so in pwsh consoles. If there's a setting that enables a regular debugging session in VS Code, I can't find it so I am reporting this as a bug. I hope it's a user error (caused by pitiful doc) and not one of those "You just can't do it in VS Code" issues that seem to plague the PowerShell environment in VS Code.
Debugging in a pair of consoles (works):
Debugging in VS Code (no input possible):