The ``pytest_enter_pdb`` hook gets called with post-mortem (``--pdb``).