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.
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.
Sources/cmuxApp.swift under CommandMenu("Debug").
Debug → Debug Windows → window entry.Debug menu only exists in DEBUG builds (./scripts/reload.sh --tag ...).reloadp.sh, reloads.sh) do not show this menu.Menu("Debug Windows"):Sidebar Debug…Background Debug…Menu Bar Extra Debug…Open All Debug WindowsCopy Config) in each debug window before adding new UI.skills/cmux-debug-windows/scripts/debug_windows_snapshot.sh --copy
xcodebuild -project GhosttyTabs.xcodeproj -scheme cmux -configuration Debug -destination 'platform=macOS' build
./scripts/reload.sh --tag <tag>
Sources/cmuxApp.swift: Debug menu entries and debug window controllers/views.Sources/AppDelegate.swift: Menu bar extra debug settings payload and defaults keys.scripts/debug_windows_snapshot.shPurpose:
Examples:
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