Web Server, WAS
remote debuging intelliJ, Spring boot
아이티.파머
2021. 4. 2. 10:35
728x90
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
- Intellij > Run/Debug Configurations > + Repote JVM Debug
- Host : localhost <원격지 정보>
- port : 포트 번호
- use module class path : main class
반응형