Skip to content

Cannot debug functions locally #4755

@LukaFiederer

Description

@LukaFiederer

Mac OS 15.7.1, intel chip.
VSCode 1.105.1 (Universal)
Azure functions extension 1.19.2
Azure func core tools 4.3.0

I can run func host start without any issue.
When debugging, I get Could not find the task 'func: host start'..
I can work around this by changing the .vscode/task.json task to:

			"type": "shell",
			"label": "func: host start",
			"command": "func host start",
			"problemMatcher": "$func-python-watch",
			"isBackground": true,
			"dependsOn": "pip install (functions)"

This runs the pip install and func host start without issue.
But I do get a:
Image
and finally connect ECONNREFUSED 127.0.0.1:9091

I guess I a not supposed to replace type func by shell in the first place, but I (and my chat bots) cannot get type: func to work...
Any ideas?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions