diff --git a/setup.cfg b/setup.cfg index 12ad75bc..15779bfa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,7 +32,8 @@ addopts = tests wltp README.rst docs/code.rst #--doctest-modules --doctest-glob=README.rst --cov-fail-under=69 # --cov=wltp.experiment --cov=wltp.model --cov=wltp.utils --cov=wltp.cycles - # --pdbcls=IPython.terminal.debugger:TerminalPdb + # --pdbcls=IPython.terminal.debugger:TerminalPdb CRASH: pytest-dev/pytest#2064 + --pdbcls=ipdb:__main__.debugger_cls doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS markers = diff --git a/setup.py b/setup.py index 13915331..4b5d9930 100644 --- a/setup.py +++ b/setup.py @@ -126,6 +126,7 @@ def clean_line(line): "sphinx", "tables", # pandas-IO for h5 "twine", # for PyPi long-description check + "ipdb", # for `pytest --pdb` (set in `setup.cfg`) ## For notebooks # "papermill",