/debug

Enables debug logging for the current session to troubleshoot issues.

Changed in 2-6

What /debug does

This skill enables debug logging for the current session, allowing you to troubleshoot issues by reading the session debug log. If not started with `claude --debug`, running this command mid-session begins capturing logs from that point. You can optionally describe the issue to focus the analysis.

Syntax

/debug

Quick drill

Three cards from the /cards deck. Open each to check your answer.

  1. Which command enables debug logging for the current session to troubleshoot issues?

    • Enables debug logging for the session.
    • Fixes a bug in the current code.
    • Displays current session logs.
    • Runs a diagnostic system check.
    Show answer

    /debug: Enables debug logging for the session.

  2. Which command fans out web searches, cross-checks sources, and synthesizes a cited report?

    • Generates a list of research topics
    • Summarizes a single web page
    • Performs a quick search for definitions
    • Synthesizes a cited report from web research
    Show answer

    /deep-research: Synthesizes a cited report from web research

  3. Which command drafts UI mockups, screen flows, landing pages, or posters as artboards on a single canvas?

    • Launches a full-featured design application
    • Generates code for UI components
    • Analyzes existing design system files
    • Drafts UI mockups and other design artifacts
    Show answer

    /design: Drafts UI mockups and other design artifacts

Drill all 112 commands in /cards

Spaced repetition so the right command comes to mind in your terminal.