Thanks for the important note about debug mode, that’s critical info!
This is a known issue with a serialization error related to the terminal tool. A few similar bugs have already been fixed, but your case with debug mode might be a separate issue.
Workarounds:
- Restart Cursor (as you noticed, this helps temporarily)
- Avoid debug mode when possible
- Start a fresh chat for new tasks
Main thread for this bug: Serialization error
Let me know what you find.