firebase deploy to emulator code example
Example 1: firebase emulators start only functions
firebase emulators:start --only functions
Example 2: firebase emulators start
firebase emulators:start
firebase emulators:start --only functions
firebase emulators:start