cmux-debug-windows
Original:🇺🇸 English
Translated
1 scripts
Manage cmux debug windows and related debug menu wiring for Sidebar Debug, Background Debug, and Menu Bar Extra Debug. Use this when the user asks to open/tune these debug controls, add or adjust Debug menu entries, or capture/copy a combined debug config snapshot.
2installs
Sourcemanaflow-ai/cmux
Added on
NPX Install
npx skill4agent add manaflow-ai/cmux cmux-debug-windowsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →cmux Debug Windows
Keep this workflow focused on existing debug windows and menu entries. Do not add a new utility/debug control window unless the user asks explicitly.
Workflow
- Verify debug menu wiring in under
Sources/cmuxApp.swift.CommandMenu("Debug")- Menu path in app: →
Debug→ window entry.Debug Windows - The menu only exists in DEBUG builds (
Debug)../scripts/reload.sh --tag ... - Release builds (,
reloadp.sh) do not show this menu.reloads.sh
- Menu path in app:
- Keep these actions available in :
Menu("Debug Windows")
Sidebar Debug…Background Debug…Menu Bar Extra Debug…Open All Debug Windows
- Reuse existing per-window copy buttons () in each debug window before adding new UI.
Copy Config - For one combined payload, run:
bash
skills/cmux-debug-windows/scripts/debug_windows_snapshot.sh --copy- After code edits, run build + tagged reload:
bash
xcodebuild -project GhosttyTabs.xcodeproj -scheme cmux -configuration Debug -destination 'platform=macOS' build
./scripts/reload.sh --tag <tag>Key Files
- : Debug menu entries and debug window controllers/views.
Sources/cmuxApp.swift - : Menu bar extra debug settings payload and defaults keys.
Sources/AppDelegate.swift
Script
scripts/debug_windows_snapshot.sh
Purpose:
- Reads current debug-related defaults values.
- Prints one combined snapshot for sidebar/background/menu bar extra.
- Optionally copies it to clipboard.
Examples:
bash
skills/cmux-debug-windows/scripts/debug_windows_snapshot.sh
skills/cmux-debug-windows/scripts/debug_windows_snapshot.sh --copy
skills/cmux-debug-windows/scripts/debug_windows_snapshot.sh --domain <bundle-id> --copy