技能 编程开发 Framer调试诊断包生成

Framer调试诊断包生成

v20260423
framer-debug-bundle
该工具用于收集Framer相关的全面诊断证据,帮助用户排查开发问题。它会自动打包运行时环境信息、已安装的插件版本、API连接状态以及关键配置文件。当您遇到持续性问题或需要向支持团队提交详细工单时,请使用此脚本进行问题排查。
获取技能
399 次下载
概览

Framer Debug Bundle

Overview

Collect diagnostic information for Framer plugin or Server API issues including package versions, API connectivity, and configuration.

Instructions

Step 1: Create Debug Bundle

#!/bin/bash
BUNDLE="framer-debug-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$BUNDLE"

echo "=== Framer Debug Bundle ===" | tee "$BUNDLE/summary.txt"
echo "Date: $(date -u)" >> "$BUNDLE/summary.txt"

# Runtime
echo "--- Runtime ---" >> "$BUNDLE/summary.txt"
node --version >> "$BUNDLE/summary.txt" 2>&1
npm --version >> "$BUNDLE/summary.txt" 2>&1

# Packages
echo "--- Packages ---" >> "$BUNDLE/summary.txt"
npm list framer-plugin framer-api framer 2>/dev/null >> "$BUNDLE/summary.txt"

# Credentials (presence only)
echo "--- Config ---" >> "$BUNDLE/summary.txt"
echo "FRAMER_API_KEY: ${FRAMER_API_KEY:+[SET]}" >> "$BUNDLE/summary.txt"
echo "FRAMER_SITE_ID: ${FRAMER_SITE_ID:+[SET]}" >> "$BUNDLE/summary.txt"

# API connectivity
echo "--- API Test ---" >> "$BUNDLE/summary.txt"
curl -s -o /dev/null -w "Framer API: HTTP %{http_code}\n" https://api.framer.com/health >> "$BUNDLE/summary.txt" 2>&1

# Vite config
cp vite.config.ts "$BUNDLE/" 2>/dev/null
cp tsconfig.json "$BUNDLE/" 2>/dev/null
cp package.json "$BUNDLE/" 2>/dev/null

# Bundle
tar -czf "$BUNDLE.tar.gz" "$BUNDLE"
echo "Bundle: $BUNDLE.tar.gz"

Output

  • summary.txt with runtime, packages, connectivity
  • Configuration files (non-sensitive)
  • Compressed archive for support

Resources

Next Steps

For rate limit issues, see framer-rate-limits.

信息
Category 编程开发
Name framer-debug-bundle
版本 v20260423
大小 2.18KB
更新时间 2026-04-28
语言