目次

Cloud Functionsのデバッグ

Cloud Functions for Firebaseを楽々デバッグするには

Cloud Functions プロジェクト作成

# Cloud Functionsプロジェクト
>npm install -g firebase-tools
>mkdir [project]
>cd [project]
>firebase init
>funcions/index.js を編集
>firebase deploy

データベースなどを使用しない場合

# 下記コマンドでローカルサーバーで動作確認できる
>firebase serve --only functions