Debugging Gradle Tests
Jump to navigation
Jump to search
Internal
Overview
gradle test --debug-jvm
Gradle will suspend execution right before running tests and wait for debugger connection on port 5005.
TODO:
- For selecting specific tests for execution, see https://docs.gradle.org/current/userguide/java_testing.html#simple_name_pattern
- Reconcile with Testing_with_Gradle_Java_Plugin#Debugging_a_Gradle_Test