Rechercher

PythonReactSEOPDF
GitHub Skill

functions-local-dev

Runs and troubleshoots the Azure Functions backend locally (build/watch/func host start, local.settings modes). Use when developing or debugging backend HTTP/queue functions.

piquet-h☆ 0 Étoiles du dépôt0 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Functions local dev

Use this skill when you are asked to:

  • Start the backend Functions host locally.
  • Switch local persistence modes (memory vs cosmos).
  • Debug common “func won’t start” / config issues.

Canonical local loop

Preferred options:

  1. VS Code tasks (recommended):
    • npm watch (functions)
    • func: host start
  2. Single command dev loop:
    • npm run dev in backend/

Helper scripts

  • scripts/start-backend-dev.mjs — starts backend dev loop with a stable entrypoint.

Environment notes

  • Backend expects local.settings.json in backend/.
  • Use the existing npm helpers:
    • npm run use:memory (backend)
    • npm run use:cosmos (backend)

If Azure Functions Core Tools (func) isn’t installed, the host start step will fail; prefer VS Code task output for diagnosis.


Last reviewed: 2026-01-15

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-01-26
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!