-
Notifications
You must be signed in to change notification settings - Fork 873
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 debug tests #12224
base: main
Are you sure you want to change the base?
how to debug tests #12224
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, it's a helpful tip!
I'm not sure about the value of this. As far as I know Gregor has something broken in his setup that prevents him from debugging by just hitting the debug button in Intellij. If we are going to add it I think we should at least make clear that this isn't the preferred way for debugging. |
agree - that's why I added "If you have trouble debugging tests in IntelliJ IDEA" |
If you have trouble debugging tests in IntelliJ IDEA (because the classpath is not correct), | ||
you can use remote debugging: | ||
|
||
1. Run the tests with the `--debug-jvm` flag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[minor] maybe link to gradle documentation about this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have you tried reinstalling or upgrade to the latest? |
@zeitlinger could you describe what fails when you try to debug? |
No description provided.