Skip to content

Cloud Functions

Marjo edited this page Jan 13, 2026 · 1 revision

Cloud Functions

LazyFire includes a Cloud Functions browser to view and monitor your Firebase Cloud Functions.

Accessing Functions

  1. Select a project in the Projects panel
  2. Navigate to the Collections panel
  3. Press [ or ] to switch to the Functions tab

Functions Tab

The Functions tab shows all deployed Cloud Functions for the current project:

┌─ [Collections] [Functions] ─┐
│ ⚡ processOrder             │
│ ⚡ sendEmail                │
│ ⚡ onUserCreate             │
│ ⚡ scheduledCleanup         │
└─────────────────────────────┘

Each function displays:

  • Function name
  • Status indicator (color-coded)

Status Colors

Color Status
Green ACTIVE
Yellow DEPLOYING
Red OFFLINE / DELETE_IN_PROGRESS

Function Details

Press Space on a function to view its details in the Details panel:

┌─ Function Details ──────────┐
│ Name:    processOrder       │
│ Status:  ACTIVE             │
│ Runtime: nodejs18           │
│ Region:  us-central1        │
│ Memory:  256MB              │
│ Timeout: 60s                │
│ Trigger: HTTP               │
│ URL:     https://...        │
└─────────────────────────────┘

Live Logs

When viewing a function, press ] to switch to the Logs tab:

┌─ [Details] [Logs] ──────────┐
│ 12:34:56 INFO  Starting...  │
│ 12:34:57 INFO  Processing   │
│ 12:34:58 ERROR Failed: ...  │
│ 12:34:59 INFO  Retrying...  │
└─────────────────────────────┘

Log Severity Colors

Color Severity
Green INFO
Yellow WARNING
Red ERROR
Dim DEBUG

Refreshing Logs

Press r to manually refresh the logs.

Keybindings

Key Action
[ / ] Switch Collections/Functions tabs (Collections panel)
j / k Navigate function list
Space Select function, show details
[ / ] Switch Details/Logs tabs (Details panel)
r Refresh logs
/ Filter functions by name

State Preservation

LazyFire maintains separate states for Collections and Functions views:

  • When you switch from Functions to Collections tab, your selected function is remembered
  • When you switch back to Functions, the previously selected function and its logs are restored
  • Document selection in Collections view is preserved independently

Requirements

  • The project must have Cloud Functions deployed
  • Your Firebase account must have permission to view functions and logs

Clone this wiki locally