1. STAF Service 配置
在stat/bin/staf.cfg 中加入
其中OPTION "J2=-agentlib:jdwp=transport=dt_socket,suspend=n,server=y,address=7777" 指定了Debug的监听端口为7777
2. Eclipse中配置Debug
3. 设置断点,启动Debug
1. STAF Service 配置
在stat/bin/staf.cfg 中加入
其中OPTION "J2=-agentlib:jdwp=transport=dt_socket,suspend=n,server=y,address=7777" 指定了Debug的监听端口为7777
2. Eclipse中配置Debug
3. 设置断点,启动Debug