呢篇文講述咗點樣用cpolar同Remote JVM Debug嚟debug內網伺服器嘅Java應用程式。首先,你要喺內網伺服器裝cpolar同JDK,之後上傳JAR檔,啟動時加debug參數。然後用IDEA設定remote debug,連接cpolar提供嘅公網地址,就可以喺本地debug遙遠嘅伺服器啦。記住,呢個有安全風險,只好用喺測試環境。示例代碼喺GitHub度有得下載。閱讀原文
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.