Command reference ยท Cursor CLI
/logs
Shows the path to the current debug log file and copies it to the clipboard.
/logs shows the debug log file path for the running session and copies it to the clipboard. Debug logs are written continuously for every session.
โ WHEN TO USE IT?
Prepare a support request with a log file
/logs โ copy the path and attach it to a support ticket
โ WHEN NOT TO?
You just need the last request ID, not the full log file
/logs gives you a file path, not a single ID.
Better: Use /copy-request-id for the last request ID
SOURCES
- Cursor Docs โ Slash Commands โ cursor.com