Skip to content

Break debugger on exceptions that aren't handled inside a pytest test #111

@madig

Description

@madig

When running "Debug Test" from the code edit view, the test output pane shows me pytest's error message when it encounters an uncaught exception, but I would like it to launch a debugger instead. I currently have to insert a try/catch with a breakpoint() otherwise.

I actually feel this should have been requested already but could find neither an issue nor a setting for this...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions