We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
来自 http://community.livejournal.com/shlomif_tech/9932.html:
From http://community.livejournal.com/shlomif_tech/9932.html:
使用 Eclipse(假设是 Java),效果很好。只需使用以下选项在 linux 机器上启动程序:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=3000
然后,在 Eclipse 中,单击 bug(debugger) 旁边的向下箭头并选择调试配置。创建一个新的远程 Java 应用程序,并添加 linux 机器的名称和您正在使用的端口(上面的 3000)。应用程序启动后,它将等待您连接。只需单击“调试”或从下拉调试菜单中选择“调试配置”即可。如果您不希望它等待,请将暂停更改为“n”。
Using Eclipse (assuming Java) this works great. Just start the program on the linux box with the following options:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=3000
Then, in Eclipse, click the down arrow by the bug(debugger) and select debug configurations. Create a new Remote Java Application, and add in the name of the linux box and the port you are using (3000 from above). Once the app is launched, it will wait for you to connect. Simply Click Debug or select the Debug Configuration from the drop down debug menu. Change suspend to 'n' if you don't want it to wait.