Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 671 Bytes

how-to-run-pub-sub-firebase-functions-when-using-the-firebase-emulators.md

File metadata and controls

23 lines (17 loc) · 671 Bytes
date title summary tags
2021-05-17
How to run Pub/Sub Firebase functions when using the Firebase emulators
Test pub/sub functions locally with Firebase emulators and Firebase shell
Firebase

Once you have the emulators running, in a separate terminal window run this command:

firebase functions:shell

Then you can run any Pub/Sub (cron) function you want by typing out the function name and hitting enter.

(i) functions: Connected to running firestore emulator at localhost:8080, calls to this service will affect the emulator
firebase > myFunction()

Solution source