Debugging a fonction called from command line

Hello,

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?

Regards,

Julien

1 comment

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

 

0

Please sign in to leave a comment.