how to debug spring application with gradle

后端 未结 5 552
渐次进展
渐次进展 2020-12-23 16:43

I am working on spring app and need to step through a controller method to see how it works. I am working in eclipse and building my app with gradle bootRun co

5条回答
  •  自闭症患者
    2020-12-23 16:46

    For build.gradle.kts file you can also simply use below:

    tasks.withType {
        jvmArgs = listOf("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:32323")
    }
    

提交回复
热议问题