Remote debugging Plaform 1.11.1 Standalone w/Eclipse

I have tried a few debug configurations in eclipse, to debug a module that I have deployed on an Platform 1.11.1 (Standalone) server running outside of the eclipse, without any success. I have imported the maven project for the module in eclipse and looking for a way of to enable remote debugging of the module on the server.

Is it possible to do remote debugging with this version of Platform Standalone? If yes, please let me know how. Thanks.

You need to make sure your openmrs-standalone-runtime.properties file contains something like:

vm_arguments=-Xmx512m -Xms512m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:NewSize=128m -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000

Especially important are the last few arguments (from -Xdebug onward). These arguments tell the JVM to listen for remote debug connections.

Once the JVM is listening, you’ll need to set up a remote debug configuration.