Firebase Admin
Firebase analytics
Pricing
Privacy and Security
Useful resources
Firebase Extensions
Cloud Run
Firebase cloud function local development
To use firebase cloud functions while doing local development you need to add useFunctionsEmulator when you initialise firebase in your app.
For locally you must call (after firebase.initializeApp)
1
firebase.functions().useFunctionsEmulator('http://localhost:4001')
Copied!
Last modified 2yr ago
Copy link