Closed
Description
It is not active during pytest_load_initial_conftests
already for example, requiring you to use -s
when debugging pytest plugins.
I think it should be more tighly coupled to the output capturing itself, i.e. suspending of output capturing should be available as early as output capturing is being used.
It makes it a bit more difficult since currently a parsed config is expected there, but it could default to e.g. not use --pdbcls
then.
pytest/src/_pytest/config/__init__.py
Lines 855 to 857 in 3f5622c