I have started a Python script in VS Code's debugger and have hit a breakpoint. I can examine the state in Debug Console.
Now I would like to call a method with parameters from within the Debug Console and follow (debug) it's execution.
I've set a breakpoint in the method I call, but it is ignored: Debug Console immediately returns the result from the method, instead of interrupting at the breakpoint. Seems like debugging in Debug Console is not supported.
Any idea how to debug from Debug Console?
I cannot explain why it is this way, but code you execute in the debugging console does not trigger breakpoints. And exceptions thrown on the debugging console do not crash your main script.
That's just how the debugging console works.