Support switching to debug mode when debugging issues during execution of plans

Feature request for product/service

Cursor IDE

Describe the request

When executing a complex plan, I will often notice that the model will identify an issue, and attempt to remedy it. This will often happen during the last phases of plan execution, when the model writes and executes tests.

It would be extremely useful in these situation to support a kind of “interrupt” where cursor could detect the need to switch to debug mode to debug and fix the issue before continuing with the rest of the plan.