The JVM included with Nirva includes the possibility to use an external debugging tool (such as eclipse). This allows to position break points, watch expressions, etc. and follow step by step what is going on inside the service.
To configure Nirva to enable this option the following parameters should be added to the JVM parameters on the Parameters screen of the Nirva console :
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1044
In Eclipse, you need to create a Debugging configuration for the project. To do this select "Open Debug Dialog" from the Debugging menu (with a "Bug" icon). In the dialog create a new "Remote Java Application" configuration. Select your service project and configure the host to localhost and the port to 1044.
To configure Nirva to enable this option the following parameters should be added to the JVM parameters on the Parameters screen of the Nirva console :
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1044
In Eclipse, you need to create a Debugging configuration for the project. To do this select "Open Debug Dialog" from the Debugging menu (with a "Bug" icon). In the dialog create a new "Remote Java Application" configuration. Select your service project and configure the host to localhost and the port to 1044.
