Skip to content

Firebase Functions Support #267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kornha opened this issue Aug 20, 2023 · 1 comment
Open

Firebase Functions Support #267

kornha opened this issue Aug 20, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request P3 question Further information is requested

Comments

@kornha
Copy link

kornha commented Aug 20, 2023

Hello,

I wish to use firebase for my functions deployment. I can currently run the functions, without functions_framework, with

firebase emulators:start

This works fine but I cannot use this for local debugging (say I'm in VSCode).
I can try;
firebase emulators:start --inspect-functions but unfortunately I get an error
--inspect-functions only supported for Node.js runtimes.
My next option is to use functions_framework for local debugging. This is great, but it seems it will only work with a single function (which is incomplete for development needs), unless I install minicube or some other product. However, this is out of sync with my firebase functions, which do not use minicube.

My question is, is there a way to run multiple functions for firebase functions that I can debug, using functions_framework?

@HKWinterhalter HKWinterhalter added enhancement New feature or request question Further information is requested P3 labels Sep 6, 2023
@jesse-apollo
Copy link

It would be great if we could fix this basic ask. There really isn't a better way to unit test python Firebase functions. At least if someone on the team has a workaround that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3 question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants