Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Hi! The Debug mode is great and I think it has so much potential, so nice job.
But, I’ve been using it for the last 30mins or so and every loop the agent says it can’t manually delete the debug.log file even though it knows it is supposed to, and asks me to do so instead. For example, its most recent response included:
“Before we can verify, the NDJSON log must be cleared. The automation API is blocked from deleting c:*.cursor\debug.log, so please remove it manually via Explorer or PowerShell.”
and I’ve seen in it’s thinking that it is struggling to delete it manually, which obviously isn’t great.
Thanks!
Steps to Reproduce
Just run a normal Debug Mode loop, I haven’t done anything specifically and it has happened every loop so far.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.2.9 (user setup)
VSCode Version: 1.105.1
Commit: a86689c93e9fb11addfbefd29a6ec7c0a59175e0
Date: 2025-12-10T16:51:25.713Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
GPT-5.1 Codex
Does this stop you from using Cursor
No - Cursor works, but with this issue



- same loop ^ response
- next loop once fix verified