Skip to content

Conversation

@potb
Copy link

@potb potb commented Jan 25, 2026

Summary by cubic

Adds a Cursor-style Debug Mode for hypothesis-driven runtime debugging with lightweight instrumentation and a local NDJSON log server. Adds frontend CSP guidance to enable localhost logging during browser debugging.

  • New Features
    • /debug command with a 7-step workflow and guided template.
    • runtime-debugging skill with server code (port 7777), NDJSON schema, JS/TS/Python/Go instrumentation, region markers for cleanup, and verification steps.
    • CSP detection and handling instructions for frontend debugging.
    • Keyword detection for debug terms (English, Korean, Japanese, Chinese, Vietnamese) that injects a [debug-mode] message.
    • .gitignore updated to exclude .opencode/debug/.
    • 37 tests added/updated across commands, skills, and keyword detector; all passing.

Written for commit 165e673. Summary will update on new commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant