VSCode has a nice stacktrace visualization and exploration tool.
Pytest has a cool feature to invoke a debugger if test cases fail. (--pdb)
If I run Pytest within the VSCode debugger, how can I get Pytest to invoke the VSCode debugger instead of the built-in PDB?
Or, failing that, how can I get PDB itself to invoke the Visual Studio stacktrace visualization?