Notice
Recent Posts
Recent Comments
Link
«   2024/10   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

ITSTEIN

이클립스에서 gradle 프로젝트 디버깅하기 본문

PROGRAMING ETC

이클립스에서 gradle 프로젝트 디버깅하기

the awesomest 2022. 12. 26. 16:58

spring gradle프로젝트를 debug하기위해서 intellij를 사용했지만 이클립스에서 하는 방법을 기록한다.

 

1) build.grale 수정. 

bootRun {
   jvmArgs '-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005'
}

 

2) gralde task에서 application bootRun실행. 

 

3) 이클립스 debug configuration 추가.

 * Remote Java Application 더블클릭해서 추가.

4) 설정 후, debug 실행. 

 

--------------------------------------------------------------------------------------------------------------------------------------------------------------

[참고] 

https://www.baeldung.com/spring-debugging

 

Comments