firebase emulators:start --only functions

Category: Firebase & Firestore

firebase emulators:start --only functions

Start only the Functions emulator

Runs the Cloud Functions emulator, which executes your deployed function code locally on port 5001 by default. Requests are served as if the functions were live, making it great for testing HTTP triggers and callable functions. Pair it with the Firestore emulator (--only functions,firestore) when functions read or write data.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.