[migration/pdb] add option to use pdb.post_mortem if traceback is provided
Post mortem is a mode where the pdb shell is opened **where** the exception as
occured instead at the breakpoint for set_trace. This is way more useful for
debugging for the user because is will have the full context of the error.
Closes #17219827
Document: cubicweb-doc
Title: CubicWeb Documentation
Author: Logilab
Abstract: Some base documentation for CubicWeb users and developers
Section: Programming
Format: HTML
Index: /usr/share/doc/python3-cubicweb-documentation/html/index.html
Files: /usr/share/doc/python3-cubicweb-documentation/html/*