microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
291 stars 133 forks source link

"Start debugging to update this list", when clicked, nothing happens #3853

Open wojtekmaj opened 1 year ago

wojtekmaj commented 1 year ago

Does this occur consistently? Yes Repro steps:

  1. Create a project using Azure Functions extensions
  2. Observe how a list of functions fails to list them and instead shows "Start debugging to update this list" instead.
  3. Upon clicking, some debugging starts, I guess, but nothing else happens
image

Version: 1.12.4 OS: darwin OS Release: 22.6.0 Product: Visual Studio Code Product Version: 1.82.2 Language: pl

alexweininger commented 1 year ago

Did debugging successfully start your Functions project? If there was an error and the process exited, then this list won't update.

wojtekmaj commented 1 year ago

It did not, the functions were not configured to run locally. Proposals:

BTW, now my list is just empty, no functions, no action button.

alexweininger commented 1 year ago

Ok, the list being empty is certainly unwanted behavior. We'll investigate that.

if function list is not updated in, say, 10 seconds, display an error message suggesting next steps That's a good suggestion

almzayyen commented 10 months ago

Has this been resolved or is there an update on this? I am facing the same issue and not sure how to move forward

MalteHuener commented 10 months ago

Same to me, I cannot see my locally created function. When I click on "Start debugging to update this list.." I got the following output in my console: cd /Users/malte.huen er/Desktop/functionApp ; /usr/bin/env /Users/malte.huener/Desktop/functionApp/ .venv/bin/python /Users/malte.huener/.vscode/extensions/ms-python.python-2023. 23.13481009/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 5688 3 -- /Users/malte.huener/Desktop/functionApp/.vscode/launch.json

But the list is not updating or showing my function.

vs-code azure functions

Here are my settings and configuration json's from .vscode inside the project folder: launch.json: { "version": "0.2.0", "configurations": [

{
  "name": "Attach to Python Functions",
  "type": "python",
  "request": "attach",
  "port": 9091,
  "preLaunchTask": "func: host start"
}

] }

settings.json: { "azureFunctions.deploySubpath": ".", "azureFunctions.scmDoBuildDuringDeployment": true, "azureFunctions.pythonVenv": ".venv", "azureFunctions.projectLanguage": "Python", "azureFunctions.projectRuntime": "~4", "debug.internalConsoleOptions": "neverOpen", "azureFunctions.projectLanguageModel": 2 }

extensions.json: { "recommendations": [ "ms-azuretools.vscode-azurefunctions", "ms-python.python" ] }

OS: macOS Sonoma 14.2 Visual Code: 1.85.1 Python 3.9 - programming model v2 Azure Functions v1.13.1 Azure Resources v0.8.3

folder content of my project folder showing in VS Code explorer (and automatically generated with azure functions extension -> create function): .venv .vscode .funcignore function_app.py host.json local.settings.json requirements.txt

rochapablo commented 8 months ago

Same here

johnaweiss commented 6 months ago

still a problem

piisku78 commented 3 months ago

still a problem