1.myeclipse 配置如下:
Run ->Debug Configurations.
左测:Remote Java Application
右侧:
Brower选择要调试的项目,
Connection Type:Standard (Socket Listen)
Port: 8080
勾选:Allow termination of remote VM.
2.最后打了断点后,点击debug
3.控制面板 ->Java,
java ->查看- >用户
添加,
路劲:C:\Program Files\Java\jre6\bin\javaw.exe
Runtime参数:
-Xdebug -Xrunjdwp:transport=dt_socket,suspend=y,address=127.0.0.1:8080