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

Azure Functions project doesn't run locally #381

Closed
DiegoZumarragaLS opened this issue Nov 15, 2024 · 1 comment
Closed

Azure Functions project doesn't run locally #381

DiegoZumarragaLS opened this issue Nov 15, 2024 · 1 comment

Comments

@DiegoZumarragaLS
Copy link

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Add a local.settings.json file in the Azure Functions project

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "",
    "AzureWebJobsSecretStorageType": "Files",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet",
   }
}

Run the Azure Functions locally

Expected/desired behavior

Run or Debug the Azure Functions locally

OS and Version?

Windows 11

Mention any other details that might be useful

Is there something i'm missing to run and debug the function locally?


Thanks! We'll be in touch soon.

@DiegoZumarragaLS
Copy link
Author

I got it.
I needed a local.settings.json like this

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "AzureWebJobsSecretStorageType": "Files",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
    "AZURE_COMPUTER_VISION_ENDPOINT": false,
   //All the other variables needed
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant