I think it would be very helpful if Cursor could use the debugger to take snapshots of values of variables as they appear in real time and add this to the context.
I’ve found it very useful to display variable values as they appear at runtimes, especially when developing APIs. Having examples of what comes back from an API is super useful and clear from the documentation.
Implementation suggestion: Once you’re at a breakpoint, you can reference the breakpoint variables and their values in the relevant information.
This is just mirroring my thought process, which has worked well for me in my career.