I am trying to set a breakpoint in an external Python module in VS code.
I have tried editing the source file and inserting import pdb; pdb.set_trace()
where I want the breakpoint.
This enters the pdb command line debugger rather than the debugger in the VS Code GUI.
How do I set a breakpoint in an imported Python module so that I enter the VS Code debugger?