Skip to content

feat: add Cursor-style Debug Mode with hypothesis-driven instrumentation#1113

Closed
potb wants to merge 10 commits intocode-yeongyu:devfrom
potb:feat/debug-mode
Closed

feat: add Cursor-style Debug Mode with hypothesis-driven instrumentation#1113
potb wants to merge 10 commits intocode-yeongyu:devfrom
potb:feat/debug-mode

Conversation

@potb
Copy link
Contributor

@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.

@code-yeongyu code-yeongyu added the in-review PR is currently under review label Feb 2, 2026
@code-yeongyu code-yeongyu mentioned this pull request Feb 5, 2026
@code-yeongyu
Copy link
Owner

The feature branch feat/debug-mode has been deleted and the PR has merge conflicts with dev. The Debug Mode feature was well-implemented with 37 tests, but cannot be merged without the source branch. Please feel free to reopen with a fresh branch if this feature is still needed! 🔒

@potb
Copy link
Contributor Author

potb commented Feb 5, 2026

Superseded by #1523

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

Labels

in-review PR is currently under review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants