fireship-io / fireship.io

Build and ship your app faster https://fireship.io
3.54k stars 1.31k forks source link

Lessons request: Debugging Cloud Functions locally #262

Open emanuelevivoli opened 4 years ago

emanuelevivoli commented 4 years ago

Hi @codediodeio , I'm following your contents since few months, and I found your channel very interesting. I'd like to ask you a little serie of videos and examples on how-to-debug cloud functions locally, using the emulator, and attaching vscode to it.

I found the way to do this by myself, and after few days of tentatives I'm finally able to debug functions locally (not the https-callable, but the firestore-triggered one), but having someone who knows better than me this things, maybe I could have spent less time on it, or just I can learn more on this.

I'm asking it because it was (at least for me) quite difficult even if the steps are 2/3 with angularfire features (especially now that the v6 version came out).

Maybe this request should go on another repo like "cloud-functions-master-course" ...

Let me know. Thanks, Immanuel

emanuelevivoli commented 4 years ago

Hi, I meant something related to this.