I was wondering how I could add --pdb and -x to the pytest command?
"elpy-test" seems nicer than "pytest-pdb-all", but I would really like elpy-test to drop into pdb on some mistake.
You can customize elpy-test-pytest-runner-command like (setq elpy-test-pytest-runner-command '("py.test" "--pdb" "-x")).
Does this help? :-)
That helps, thanks!
Glad to hear that. I'll close this issue then, but please do not hesitate to open a new one if you have any further problems or questions. Enjoy Elpy! :-)
Most helpful comment
You can customize
elpy-test-pytest-runner-commandlike(setq elpy-test-pytest-runner-command '("py.test" "--pdb" "-x")).Does this help? :-)