Complete the code to start the Firebase Emulator Suite with Firestore emulator.
firebase emulators:start --only [1]The firestore emulator is started by specifying --only firestore in the command.
Complete the code to configure the Firebase Emulator Suite to use the Authentication emulator on port 9099.
firebase emulators:start --only auth --[1]=9099
--port flag which does not specify the service.The correct flag to specify the port for the Authentication emulator is --auth-port.
Fix the error in the Firebase Emulator Suite configuration file to correctly specify the Firestore emulator host and port.
{
"emulators": {
"firestore": {
"host": "[1]",
"port": 8080
}
}
}0.0.0.0 which listens on all interfaces but is not recommended here.firebase which is not a valid hostname.The Firestore emulator host should be set to localhost to run locally on your machine.
Fill both blanks to configure the Firebase Emulator Suite to start Firestore and Functions emulators.
firebase emulators:start --only [1],[2]
To start both Firestore and Functions emulators, use --only firestore,functions.
Fill all three blanks to configure the Firebase Emulator Suite to start Firestore, Authentication, and Hosting emulators with their default ports.
firebase emulators:start --only [1],[2],[3]
The command starts Firestore, Authentication, and Hosting emulators by listing them separated by commas.