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