.cursor files consistently edited

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor-created files such as plans and debug.log are consistently showing changes in git. Even after deleting debug.log, well past the time I stopped using debug mode, the file will reappear. Plans also change whenever I open them.

Steps to Reproduce

  • Start debug mode and clean up
  • Delete the debug.log file
  • See that it reappears
  • Create a plan in plan mode
  • Save it
  • Close the plan
  • Close out of the chat
  • Open the plan
  • See that the plan has changes

Expected Behavior

Files in the .cursor folder should not reappear after deletion or change when opened.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.34
VSCode Version: 1.105.1
Commit: 643ba67cd252e2888e296dd0cf34a0c5d7625b90

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for reporting this.

This is a known issue - the debug.log file can recreate itself even after deletion when debug mode was used. The team is aware and working on a fix.

As a workaround, you can add these entries to your .gitignore:

.cursor/debug.log
.cursor/plans/

Or if you don’t need the .cursor folder tracked at all:

.cursor/

This won’t prevent the files from being created/modified, but will stop them from showing up in git.

Let me know if you have any questions.

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.