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