[英]Debugging functions in firebase emulator without deploying first
I have an application that uses cloud functions to respond to Firestore triggers (onCreate, onDelete).我有一个应用程序使用云功能来响应 Firestore 触发器(onCreate、onDelete)。 I am trying to use the emulator to test these functions prior to deployment, however that does not work for me.
我正在尝试使用模拟器在部署之前测试这些功能,但这对我不起作用。
The emulator is properly setup, I can test and debug cloud functions, BUT I have to deploy them first.模拟器设置正确,我可以测试和调试云功能,但我必须先部署它们。 Am I missing something?
我错过了什么吗?
Basically, I have to do基本上,我必须做
> firebase emulator:start --inspect-functions
then然后
> firebase deploy --only functions
Any help or pointers would be greatly appreciated任何帮助或指点将不胜感激
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.