I know how to remotely debug a java application on a machine where it already exists, but does anyone know of a solution that can run from a local workspace (like eclipse), pass any code in the local path to a remote or virtual machine, run it there and connect the remote debugger, all in one step? I expect that some server will need to be run on a remote computer in order to accept class files and execute them.
I once did something similar with JUnit, transferring local test files to a remote machine via RMI and executing them there, transferring the results back to my eclipse. Since these test tests are JUnit tests, it was easy to integrate them with JUnit-launcher and -tools from eclipse, but to debug the whole application, I suspect this is a little more complicated.
I would like to ask if there are any solutions for this or someone has done this before and will point me in the right direction.
There is something similar for VMWARE workstation, but I'm developing on Mac and not available in Fusion.
source share