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?
2
Answers
The code information you provided is too little, I give a possible answer:
Maybe the location of your breakpoint contains a method belonging to another package. You could add
"justMyCode": false
to yourlaunch.json
.You can try this: