Wiki Markup |
---|
{scrollbar} |
Anchor | ||||
---|---|---|---|---|
|
5. Debugging and Profiling
Debugging
Usually, the easiest way to debug ServiceMix Runtime or any application deployed onto it is to use remote debugging.
Remote debugging can be easily activated by setting the SERVICEMIX_DEBUG
environment variable to TRUE
.
...
Last, inside your IDE, connect to the remote application (the default port to connect to is 5005).
Profiling
YourKit
You need a few steps to be able to profile ServiceMix Runtime using YourKit.
The first one is to edit the etc/config.properties
configuration file and add the following property:
...