Can I create a Python console for PyCharm access debugging context?

I would like to execute arbitrary Python commands in the Python console so that they can access the current local (and global, any) function variables during the debugging process, for example, in Matlab debugging.

Is this possible in Python?

UPDATE

I do not have a button described by @nanotek

enter image description here

A dedicated button, located in the same place, does the opposite thing: it passes console variables. As you can see, the console does not see the variable found_featuresthat is in the current traceable program above.

+4
source share
1 answer

Yes, this is a general function of the debugger.

, Console, Show Python Prompt. , .

, . , . EAP .

enter image description here

+4

Source: https://habr.com/ru/post/1683829/


All Articles