Suppose I wrote a function that I want to debug.
PyDev helps debug a lot with its advanced features, such as breakpoints.
After setting breakpoints, one of the debugging methods is to write a function call in def main() or only in the module body and press the button
.
Is it possible to start a debugging session of a function along with its arguments from the console? (Same as in RStudio or VBA ...)
This question is a duplicate of pydev: debugging in console mode (interactive)?
Update: I really don't know what the magic combination of clicks are that makes interactive debugging possible.
Here is what I am doing that does not work (on Ubuntu 14.04 and Eclipse 4.4.I20140606-1215 with PyDev 3.6.0.2014062323, Python 3.4.0, IPython 1.2.1)
First try:
First I create a new PyDev project: 
Then I insert a new .py file with some code and create some breakpoints: 
Then I right click on the code, Debug As... Python run .
And then 2 consoles open, none of them are IPython. The active console is called [Debug console] proba.py .
Typing commands in this console does not force the computer to execute them.
Another console is available, simply called proba.py .
This console is fully interactive, although it is not IPython.
This is a truly interactive debugger. You can go through the code and check the variables. Unfortunately, updating variables is not supported; if I enter the command a=10 , the variable will not be updated.
Second attempt
This time, try starting IPython before starting a debugging session. After Ctrl + Alt + Enter, I select Console for currently active editor :

Then Python3 (because this is what I need): 
After that, I have a fully working IPython console. 
When I run the file through execfile , it raises the error Failed to create input stream: Read timed out : 
Although the code seems to be working, I cannot access the variables from the IPython console, although I can access them from the Variables view: 