I have a spring boot project. Usually I run IDEA debugger on port 63344, set breakpoints, run
./mvnw spring-boot:run -Dspring-boot.run.jvmArguments="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:63344"
and my application connects to debugger without any problems.
I have some tests which can be runned with:
./mvnw test
I want to set breakpoints in my tests and debug them. How I can do it? Which flags I need to add to ./mvnw test
command for JDB to connect to IDEA?
1