debug the servicemix in eclipse

1. config servicemix
edit servicemix_path/bin/servicemix.bat :
add a new line "set KARAF_DEBUG=TRUE"  at the top of servicemix.bat
2. run servicemix:
you can see the monitoring port of servicemix ---5005
3.run eclipse :
open "run" -  "Debug Configurations" -:
project--
host--ip
port:  5005
4. set the breakpoint of programme

你可能感兴趣的:(eclipse)