question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Google Cloud Functions Emulator via "invoke local"

See original GitHub issue

I’m testing my cloud functions locally with the Google Cloud Functions Emulator. But then I have to run the ‘native’ cloud functions commands like functions deploy helloWorld --trigger-http every time, for every code-change, for each function, to ‘deploy’ it to the emulator.

Is it possible to deploy to the local emulator using the serverless framework?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:29
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

10reactions
pmuenscommented, May 20, 2017

Hey @jpkleemans thanks for opening! 👍

Great suggestion. We’re already looking into ways to integrate the Cloud Functions Emulator into the plugin so that it can be used with the Frameworks invoke local command.

5reactions
ramettacommented, Sep 18, 2019

For anyone interested, this is a great tool for local gcf: Coppa

Read more comments on GitHub >

github_iconTop Results From Across the Web

Local Development | Cloud Functions Documentation
You can run functions locally using either Function Frameworks or Cloud Native buildpacks. Function Frameworks are open-source libraries used within Cloud ...
Read more >
Run functions locally | Cloud Functions for Firebase - Google
Run functions locally ... The Firebase CLI includes a Cloud Functions emulator which can emulate the following function types: ... You can run...
Read more >
Google Cloud Functions Tutorial : Using the Local Functions ...
The Local Functions Emulator is just that. It gives you a local service to which you can deploy your functions and test them...
Read more >
How to run Google Cloud Functions locally when emulator is ...
Run your code using npx @google-cloud/functions-framework --target=helloWorld. While these are the cheat sheet notes, I strongly recommend ...
Read more >
How to Develop and Test Your Google Cloud Function Locally
To develop the cloud function locally, we need to install the Functions Framework. The functions framework allows us to spin up a local...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found