firebase functions run locally code example
Example 1: firebase emulators start only functions
firebase emulators:start --only functions
Example 2: firebase deploy only function
firebase deploy --only functions:functionNameHere
Example 3: run function project with firebase
firebase emulators:start