Properly set immediately_break value

This commit is contained in:
Jeffrey Rackauckas 2018-06-30 21:32:25 -07:00
parent 952bbefaac
commit a46b94950c
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ def pytest_configure(config):
else:
pdb_cls = pdb.Pdb
global immediately_break
immediately_break = config.getvalue("trace")
if config.getvalue("usepdb"):
config.pluginmanager.register(PdbInvoke(), "pdbinvoke")