mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
Reraise exception after pdb.post_mortem() (#5197)
Otherwise, `continue` etc. would fail
This commit is contained in:
@@ -52,6 +52,8 @@ def debug():
|
||||
import pdb # noqa: T100
|
||||
pdb.post_mortem()
|
||||
|
||||
raise # prevent from jumping ahead
|
||||
|
||||
|
||||
@contextmanager
|
||||
def debugtools(args):
|
||||
|
||||
Reference in New Issue
Block a user