관리 메뉴

IT.FARMER

remote debuging intelliJ, Spring boot 본문

Web Server, WAS

remote debuging intelliJ, Spring boot

아이티.파머 2021. 4. 2. 10:35
반응형

remote debuging intelliJ

JVM은 디버그 모드로 시작할수 있으며 JPDA(Java platform debugger architecture )디버거에 연결할수 있다. 디버깅을 활성화 하면 로컬및 원격 디버깅을 모두 활성화 한다.

java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8888,suspend=n -jar {jarName}

옵션

  • -Xdebug
  • suspend=n
  1. Intellij > Run/Debug Configurations > + Repote JVM Debug
  2. Host : localhost <원격지 정보>
  3. port : 포트 번호
  4. use module class path : main class

반응형