debug-menu

Generate an iOS and macOS debug menu with feature flags, environment switching, and network logs.

1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/venomez-viper/PathWise --skill debug-menu-venomez-viper
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: debug-menu
Source: https://github.com/venomez-viper/PathWise/tree/main/.claude/skills/generators/debug-menu
Command: npx skills add https://github.com/venomez-viper/PathWise --skill debug-menu-venomez-viper

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers need a safe, accessible in-app debugging surface that can be toggled without shipping debug tools to production. This Skill provides a comprehensive in-app debug menu with environment switching, feature flags, network logs, cache controls, crash triggering, and diagnostic exports to streamline development and testing.

Core Features & Use Cases

  • In-app Debug Menu: accessible via shake gesture or hidden tap to reveal a feature-rich dev surface.
  • Feature Flags: toggle flags at runtime to test different app behaviors without redeploy.
  • Environment Switcher: switch API base URLs across development, staging, and production with restart guidance.
  • Network Logger: view recent requests and statuses to diagnose API issues quickly.
  • Diagnostics & Export: collect device/app state and share a diagnostic report for bug analysis.

Quick Start

Trigger the debug menu using the configured gesture and begin toggling flags, switching environments, and exporting a diagnostic report.

Frequently Asked Questions about debug-menu

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add an in-app debug menu to a SwiftUI app?▼

You add an in-app debug menu by integrating a generated developer surface into your SwiftUI app, which is accessible via a configured shake gesture or hidden tap.

Can I switch API environments in iOS without redeploying the app?▼

Yes, you can switch API environments dynamically using an environment switcher component that toggles base URLs across development, staging, and production, providing restart guidance.

How do I ensure debug tools are not shipped to production in iOS?▼

Debug tools are kept out of production by wrapping the debug menu implementation in a #if DEBUG condition, ensuring the feature flags and network logger only compile in development builds.

What is the best way to view network logs inside a running iOS app?▼

The best way to view network logs internally is through a network log viewer component within an in-app debug menu, allowing you to check recent requests and statuses to diagnose API issues.

How do I trigger crashes and export diagnostics during iOS testing?▼

You trigger crashes and export diagnostics by using the debug menu's crash triggering and diagnostic export tools, which collect device and app state to share a diagnostic report.

Does the debug menu support runtime feature flags for testing?▼

Yes, the debug menu supports runtime feature flags, allowing you to toggle specific flags within the app to test different behaviors without needing to redeploy your application.