Command reference ยท Cursor CLI
/debug
Toggles Debug mode, built for reproducing and narrowing down bugs.
/debug toggles Debug mode, or submits a prompt directly in Debug mode. Reproduction-step cards are shown with their own (red) accent in Debug mode, so the active mode stays clear.
โ WHEN TO USE IT?
Narrow down a specific bug
/debug Login fails after a password reset
Work through reproduction steps systematically
/debug โ activate the mode before pasting a bug report with a stack trace
โ WHEN NOT TO?
A new feature should be built directly
Debug mode is built for bug-finding and narrowing, not new development.
Better: Use normal agent mode or /plan for feature work
The bug is already clearly located
If the cause and the fix are already clear, Debug mode adds no value.
Better: Ask for the fix directly in agent mode
SOURCES
- Cursor Docs โ Slash Commands โ cursor.com