To run certain Python statements interactively while in DeBug, PyCharm provides the DeBug Console. (Alt + F8 is OK in simple cases, but the experience is not as good as the console)
There are times in VSCode when you can just use 'Terminal: Run Selected Text In Active Terminal' to put the text from the editor directly on the console, but I didn't find a similar mechanism in Actions in PyCharm.
I've seen the documentation that says 'Load source code from the editor into console.' but I can't find the relevant action
Is there a similar mechanism in PyCharm?