Currently when you pass the --pdbcls option, the --pdb behavior is automatically enabled. This is not intuitive. I want to be able to set --pdbcls=IPython.core.debugger:Pdb in my setup.cfg without always using the debugger when I run tests.
The problem appears to lie here:
if config.getvalue("usepdb") or config.getvalue("usepdb_cls"):
config.pluginmanager.register(PdbInvoke(), 'pdbinvoke')
#...
Debugger behavior is enabled even if --pdb is not necessarily passed.
Would the maintainers be open to changing this?
Currently when you pass the
--pdbclsoption, the--pdbbehavior is automatically enabled. This is not intuitive. I want to be able to set--pdbcls=IPython.core.debugger:Pdbin mysetup.cfgwithout always using the debugger when I run tests.The problem appears to lie here:
Debugger behavior is enabled even if
--pdbis not necessarily passed.Would the maintainers be open to changing this?