使用eclipse遠程調試Linux下代碼的步驟

1、 將打好的xxx.jar包放在服務器下 2、 執行命令 : java -agentlib:jdwp=transport=dt_socket,server=y,address=8050,suspend=y -jar xxx.jar 3、 Eclipse中,右擊項目名稱選擇Debug As –>Debug Configurations–>Remote Java Application 配置服務器I
相關文章
相關標籤/搜索