Managing serverless Firebase Cloud Functions usually requires constant context switching between IDE files, Google Cloud Logging consoles, and Postman. App Blink integrates execution, logging, and error debugging directly into your code editor.
β‘ Inline Function Invocation Panel
Under the Services panel in the sidebar, every exported Cloud Function is listed with an inline action menu:
- Invoke Function: Opens a JSON payload editor pre-populated with test schemas.
- Test Local vs Remote: Switch invocation target between local emulator (
localhost:5001) and live Google Cloud production endpoints with one click. - Deploy Single Function: Deploy only the function you just edited (
firebase deploy --only functions:functionName) without waiting for the entire codebase to deploy.
π Multi-Line Sorted Log Streamer
App Blink streams Cloud Function execution logs in real time:
- Severity Filtering: Filter by
DEBUG,INFO,WARNING,ERROR, orCRITICAL. - Multi-Line Log Folding: Consolidates stack traces into clean, expandable blocks.
- Direct File Links: Clicking file paths or line numbers in stack traces immediately opens the relevant TypeScript file at that exact line.
π€ Automated Bug Scanner & AI Fixer
When an unhandled exception or runtime crash occurs in a Cloud Function:
- Background Error Detection: App Blink flags the error badge in the sidebar and displays a notification.
- AI Root-Cause Diagnosis: Clicking Analyze Bug with AI parses the stack trace, extracts the function source code, and explains why the failure occurred.
- 1-Click AI Refactor: Click Apply Fix with AI to let App Blink rewrite the function with safe error handling, missing null checks, or schema guards.