How to enable debug on my JUnit through Gradle test task

To debug tests the following argument should be used: --debug-jvm

For example: gradle test --debug-jvm

Gradle will suspend execution right before running tests and wait for debugger connection on port 5005.

For executing only specific tests see Simple name pattern

For additional options see Debugging when running tests.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)