-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Description
Since pytest supports the --pdb and --pdbcls switches to launch a debugger if a test assertion fails:
--pdb start the interactive Python debugger on errors or
KeyboardInterrupt.
--pdbcls=modulename:classname
start a custom interactive Python debugger on errors.
For example:
--pdbcls=IPython.terminal.debugger:TerminalPdb
it could be useful (at least to me) if debugpy could support this. See emacs-lsp/dap-mode#506
I may be wrong but it looks like debugpy (and vscode) do not support this yet.
Adding this directly in debugpy could be easier than grafting it onto a pytest plugin, as I proposed in emacs-lsp/dap-mode#506
Metadata
Metadata
Assignees
Labels
No labels