Netbeans + Azure functions

If you are programming Azure functions in Netbeans, when you run “azure-functions:run”, you will have this bug:

azure function “sh: func: command not found”

Just manually copy your $PATH variable into netbeans, bug will gone