Debugging a fonction called from command line


I am using command line, either from the debugger itself, or after my main program ends using the option "Run with python console".

In both case I can't debug the functions I call. Breakpoints in functions that I call from this console do not work.

Is there an option to activate breakpoints and step by step debugging in functions called from command line?



1 comment
Comment actions Permalink

Please check the following:

1. "Atthach to subprocess automatically" is enabled in File | Settings | Build, Execution, Deployment | Python Debugger

2. When python console is opened, you click the "attach to debugger" button



Please sign in to leave a comment.