No Debug information with remote debugger

Trying to attach a debugger client to my Kotlin project built by gradle with debug information such as source code.

Within project root I execute: ./gradlew test --debug-jvm.
After jdb -attach $PORT, I couldn’t list to view source code.

Any suggestions for me to setup debugging environment properly?