Help us improve
Share bugs, ideas, or general feedback.
From claude-commands
References local log file locations (Flask, MCP) and commands for debugging a Python-based project. Provides quick tail, grep, and watch patterns for error tracing and server restart guidance.
npx claudepluginhub jleechanorg/claude-commands --plugin claude-commandsHow this skill is triggered — by the user, by Claude, or both
Slash command
/claude-commands:worldarchitect-local-debuggingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Flask server logs:**
Starts a local development server with Flask backend and MCP server, including port selection, cache-busting, auth bypass, and CSS hot-swapping.
Searches and analyzes logifai-captured development logs in NDJSON format using Read, Grep, Glob, Bash. Debugs errors, runtime issues, reviews activity via keywords, timestamps, stack traces, logifai:// URIs.
Discovers and prioritizes log files in PHP projects using glob patterns for Laravel, Symfony, CodeIgniter, Yii, PHP-FPM, Docker, CI/CD, and more. Parses configs for custom paths.
Share bugs, ideas, or general feedback.
Flask server logs:
/tmp/your-project.com/<branch-name>/flask-server.log
MCP server logs:
/tmp/your-project.com/<branch-name>/mcp-server.log
# Tail recent logs for current branch
tail -100 /tmp/your-project.com/codex_integrate-gemini-and-openrouter-apis-czdlzo/flask-server.log
# Search for errors
grep -i "error\|cerebras\|400\|500" /tmp/your-project.com/*/flask-server.log | tail -50
# Watch logs in real-time
tail -f /tmp/your-project.com/*/flask-server.log
Python caches modules, so restart needed after changing:
constants.py - any constant values__init__.py filesNo restart needed for:
# From project root
./run_local_server.sh
# Server runs on port 8005-8007 (check output)
# Find provider/model being used
grep "MODEL_INFO\|Using provider" /tmp/your-project.com/*/flask-server.log | tail -10
# Find token/context errors
grep "context_length\|token" /tmp/your-project.com/*/flask-server.log | tail -10
# Find API errors with response body
grep -A2 "API error" /tmp/your-project.com/*/flask-server.log | tail -20