Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Very frequently, during the Debug Mode, the log file generated by the debug ingest server—typically located at .cursor/debug-hash.log—is not automatically detected by the agent. This issue does not appear to depend on the model, as it occurs even when using Premium models such as GPT-5.3-codex, GPT-5.4, Sonnet 4.6, Opus 4.7, and Composer 2.
Additionally, in many of these cases, the agent does not use tools like grep or the terminal to search for the log file.
Steps to Reproduce
- Ask the agent about any issue and allow it to generate the log file.
- Click the Proceed button.
- Observe whether the agent searches for the log file.
Expected Behavior
The agent should automatically locate and read the log file, or at least actively search for it using available tools.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
Version: 3.1.15 (user setup)
VSCode Version: 1.105.1
Commit: 3a67af7b780e0bfc8d32aefa96b8ff1cb8817f80
Date: 2026-04-15T01:46:06.515Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
Premium that defults to GPT-5.3-codex, GPT-5.4, Sonnet 4.6, Opus 4.7, Composer 2
For AI issues: add Request ID with privacy disabled
Request ID: 81436841-4589-413e-9060-fe95870ce1ff
Additional Information
I suspect the issue may be caused by adding **/*.log to the .gitignore. In this case, the .gitignore rule should be ignored, allowing the agent to access the log file.
Does this stop you from using Cursor
No - Cursor works, but with this issue
