Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waiting for preLaunchTask 'func: host start'... runs forever when using UseDevelopmentStorage=true for PowerShell #4319

Open
EvanR-Dev opened this issue Nov 7, 2024 · 0 comments
Milestone

Comments

@EvanR-Dev
Copy link

EvanR-Dev commented Nov 7, 2024

Image
On VS Code Desktop

I have a basic Pwsh HTTP Trigger here made using the AzFx extension. I have the Azurite ext installed and set "AzureWebJobsStorage": "UseDevelopmentStorage=true" in local.settings.json. I cannot debug/run the function as it keeps waiting for func: host start. Doing "AzureWebJobsStorage": "" will work. Starting Azurite Blob Service myself will work as well.

There are some inconsistencies between how different runtimes handle this:

  • In Python, this works fine
  • In Node, it will ask if Azurite is installed or running first

Proposition: a way to attempt to start Azurite when debugging/starting func host before telling the user it's not installed. There is a VS Code command for that: vscode.commands.executeCommand('azurite.start')
This way we can standardize how all runtimes handle this case - as not all triggers will not use Azurite as well

@MicroFish91 MicroFish91 added this to the Backlog milestone Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants