From 801000536494f39b567d3f2d060c7004064e5950 Mon Sep 17 00:00:00 2001 From: Saugat Pachhai Date: Mon, 4 Jan 2021 15:34:04 +0545 Subject: [PATCH] Reraise exception after pdb.post_mortem() (#5197) Otherwise, `continue` etc. would fail --- dvc/_debug.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dvc/_debug.py b/dvc/_debug.py index b3d776a99..e4c029e9a 100644 --- a/dvc/_debug.py +++ b/dvc/_debug.py @@ -52,6 +52,8 @@ def debug(): import pdb # noqa: T100 pdb.post_mortem() + raise # prevent from jumping ahead + @contextmanager def debugtools(args):