vscode-azurefunctions
vscode-azurefunctions copied to clipboard
"Start debugging to update this list", when clicked, nothing happens
Does this occur consistently? Yes Repro steps:
- Create a project using Azure Functions extensions
- Observe how a list of functions fails to list them and instead shows "Start debugging to update this list" instead.
- Upon clicking, some debugging starts, I guess, but nothing else happens
Version: 1.12.4 OS: darwin OS Release: 22.6.0 Product: Visual Studio Code Product Version: 1.82.2 Language: pl
Did debugging successfully start your Functions project? If there was an error and the process exited, then this list won't update.
It did not, the functions were not configured to run locally. Proposals:
- check for local.settings.json before showing the message
- if function list is not updated in, say, 10 seconds, display an error message suggesting next steps
BTW, now my list is just empty, no functions, no action button.
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
Has this been resolved or is there an update on this? I am facing the same issue and not sure how to move forward
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.
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
Same here
still a problem