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.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill 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:
- VS Code tasks (recommended):
-
npm watch (functions) -
func: host start
-
- Single command dev loop:
-
npm run devinbackend/
-
Helper scripts
-
scripts/start-backend-dev.mjs— starts backend dev loop with a stable entrypoint.
Environment notes
- Backend expects
local.settings.jsoninbackend/. - 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
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!