Debugging a client Java application remotely
You can debug a Java™ application that executes a ruleset remotely on a remote virtual machine.
About this task
When you debug remotely, you run the application on one computer and debug it on another computer. However, you use the debugging facility itself exactly as if you were debugging code locally. The prerequisite is that you access machines that are connected to a reliable network. The client user interface runs on one system while the debug engine runs on another system. Typically, you use remote debugging when you develop a Java project or if you want to run your project on a platform on which the debugger does not run. Java EE is a good example of this case: you can use the remote debug feature to take advantage of the debugger user interface while you debug the remote application.
To test a remote Java application that runs the rules of a classic rule project, use the Debugger launch configuration for a remote Java application with rules. The Java application can be for rules or for RuleApps.
Procedure
Results
The launch configuration tries to connect to a VM at the specified address and port, and the result is displayed in the Debug view. If the launcher is unable to connect to a VM at the specified address, an error message is displayed.