Chain of thought prompting

I’ve seen that it was possible to trigger chain of thought prompting when encountering an error in the terminal or the IDE with the “Debug” button but I’ve seen it to work only when there’s an error. When the code compiles and there’s no error but you still need debugging I didn’t find a way to trigger that functionality is it possible to do ?

I’ve tried to do so with the keyboard shortcut but it doesn’t seem to work properly as it puts an “undefined” in front.

Not at the moment! But noted this down as a feature request. Agree this can be annoying, and I’d want something similar.