返回 Skill 列表
extension
分类: 开发与工程无需 API Key

base44-troubleshooter

使用后端功能日志排查生产问题。在调查应用程序错误、调试函数调用或诊断Base44应用程序中的生产问题时使用。

person作者: jakexiaohubgithub

Troubleshoot Production Issues

Prerequisites

Verify authentication before fetching logs:

npx base44 whoami

If not authenticated or token expired, instruct user to run npx base44 login.

Must be run from the project directory (where base44/.app.jsonc exists):

cat base44/.app.jsonc

Available Commands

| Command | Description | Reference | |---------|-------------|-----------| | base44 logs | Fetch function logs for this app | project-logs.md |

Troubleshooting Flow

1. Check Recent Errors

Start by pulling the latest errors across all functions:

npx base44 logs --level error

2. Drill Into a Specific Function

If you know which function is failing:

npx base44 logs --function <function_name> --level error

3. Inspect a Time Range

Correlate with user-reported issue timestamps:

npx base44 logs --function <function_name> --since <start_time> --until <end_time>

4. Analyze the Logs

  • Look for stack traces and error messages in the output
  • Check timestamps to correlate with user-reported issues
  • Use --limit to fetch more entries if the default 50 isn't enough