Springboot jar包遠程調試

一、將jar包放入服務器 java -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n -jar mac-test-0.0.1-SNAPSHOT.jar 二、在idea中進行設置 Run → Edit Configurations 打開如圖 三、進行遠程調試 參考文章: Springboot jar包遠程調試
相關文章
相關標籤/搜索