-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to integrate dape with pytest? #79
Comments
Hey I just pushed an batteries included config that works great with pytest, so you need to use the latest commit for this to work. It's called `debugpy-module', see screenshot for usage (note that "User Uncaught Exceptions" need to be enabled to break at assertion error).
|
Great work! Thanks for your reply! But it did not break at any assertion error or breakpoint even when the "User Uncaught Exceptions" was enabled. What was I missing? |
Would you mind share some additional information?
|
Maybe take a look at |
I accidently figured out that you can use dape to debug specific test function in specific test file by simply runing this command:
|
I've searched the web, and can not find a solution to integrate dape with pytest. Can anyone give me some ideas about the workflow for testing and debugging? Thanks.
The text was updated successfully, but these errors were encountered: