Skip to content
Back to skills

Worldarchitect Local Debugging

ASecurity

**Flask server logs:** ``` /tmp/your-project.com/<branch-name>/flask-server.log ```

  • 6 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 26, 2026
developmentpythonbashflaskdebuggingapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add jleechanorg/jleechan-skills --skill worldarchitect-local-debugging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Worldarchitect Local Debugging?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Worldarchitect Local Debugging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jleechanorg-worldarchitect-local-debugging/badge)](https://www.skillsdirectory.com/skills/jleechanorg-worldarchitect-local-debugging)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Your Project Local Debugging Reference

## Log File Locations

**Flask server logs:**
```
/tmp/your-project.com/<branch-name>/flask-server.log
```

**MCP server logs:**
```
/tmp/your-project.com/<branch-name>/mcp-server.log
```

## Quick Log Commands

```bash
# 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
```

## When Server Restart is Required

Python caches modules, so restart needed after changing:
- `constants.py` - any constant values
- Any `__init__.py` files
- Import structure changes
- New dependencies

**No restart needed for:**
- Template changes (Jinja reloads)
- Static files (CSS/JS)
- Most Flask route logic (with debug mode)

## Running Server

```bash
# From project root
./run_local_server.sh

# Server runs on port 8005-8007 (check output)
```

## Common Debug Patterns

```bash
# 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
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.