()
| 49 | |
| 50 | @pytest.fixture |
| 51 | def _custom_global_dbg(): |
| 52 | from _pydevd_bundle.pydevd_constants import GlobalDebuggerHolder |
| 53 | from pydevd import PyDB |
| 54 | |
| 55 | curr = GlobalDebuggerHolder.global_dbg |
| 56 | PyDB() # Will make itself current |
| 57 | yield |
| 58 | GlobalDebuggerHolder.global_dbg = curr |
| 59 | |
| 60 | |
| 61 | @pytest.mark.parametrize("_times", range(2)) |