For this to work on your machines, you will need to do two things. Follow the Visual Studio section in this link.
- Install Azure-functions-core-tools @ the main package is installed using the NPM.
- Create a debug profile and configure as shown below and use the profile when starting from the visual studio.
Please find the image below for your help.
![Screenshot](https://fooobar.com//img/52948ec18ff23665eb1a13124ba541f5.png)
source
share