Error launching debug adapter: program not found

Patrick Sørensen 5 Reputation points
2024-10-03T09:48:14.9733333+00:00

I'm encountering an issue while debugging my functions app running in a Docker container. The error message says "program '/functions_debugging_cli/func' doesn't exist." Yesterday, everything worked fine, but now I'm not sure why "func" is missing or where it is located. I've attempted to reinstall Azure Functions Core Tools, as well as updating and repairing Visual Studio Community, without success. The output window hasn't been helpful either. My PC was updated overnight, and I believe this update may be the cause. I am currently running on Windows 11 Enterprise, version 24H2, build 26100.1742, and with the Windows Feature Experience Pack 1000.26100.18.0.

User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,087 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,870 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
442 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Pinaki Ghatak 4,610 Reputation points Microsoft Employee
    2024-10-04T11:21:27.3666667+00:00

    Hello @Patrick Sørensen

    Based on the error message you provided, it seems like the program '/functions_debugging_cli/func' doesn't exist.

    You mentioned that your PC was updated overnight, and you believe this update may be the cause. It's possible that the update may have caused some compatibility issues with Azure Functions Core Tools. You may want to check if there are any known issues with the latest Windows update and Azure Functions Core Tools.

    Lastly, have you tried checking if the program '/functions_debugging_cli/func' actually exists in your system?

    You can try searching for it in your file explorer or using the command prompt. I hope this helps


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.