@MughundhanRaveendran-MSFT - Thanks for the quick response. I tried to check azure function core tools installed in my machine. But not sure how or where to check. Also, when i checked the project properties, i am not ale to see the executable options as mentioned above. Pasting the screenshot which i am getting in my project properties. Also, when i checked in the folder in AppData\Roaming, there is no such npm folder exists. Please guide me to resolve this.
The debug profile is missing the path to the executable to debug
Hi Team,
I am getting the error while debugging the azure function. Please provide me with the steps or ways to fix this.
Azure Functions
-
Shunmuga Priya Kandasamy (INFOSYS LIMITED) 131 Reputation points Microsoft External Staff
2021-10-27T11:01:37.967+00:00
1 additional answer
Sort by: Most helpful
-
MughundhanRaveendran-MSFT 12,506 Reputation points
2021-10-27T10:00:00.637+00:00 @Shunmuga Priya Kandasamy (INFOSYS LIMITED) ,
Thanks for reaching out to Q&A.
Please try the below steps which will help in resolving this issue
- Make sure you have azure-functions-core-tools installed.
- Open up your project's properties, right-click project root | properties | Debug You should see this: enter image description here
- Set the Launch to Executable
- Set the Executable to the path of your azure-functions-core-tools executable - in AppData\Roaming\npm\node_modules\azure-functions-core-tools\bin\func.exe
Similar issue reported here as well: https://github.com/Azure/Azure-Functions/issues/110
Feel free to reach out to me if you have any further queries.
I hope this helps!
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.