figure out how to enable debugging on the cordite nodes
As per this I added:
-Dcapsule.jvm.args="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
to the node/Dockerfile. This seems to actually start the debugger. Note that you must have suspend set to n
otherwise the vm doesn't come up until the debugger attaches.
The vms had a lot of problems, however, in azure atleast.
For example:
Debugger failed to attach: handshake failed - connection prematurally closed
Debugger failed to attach: handshake failed - connection prematurally closed
Debugger failed to attach: timeout during handshake
Debugger failed to attach: timeout during handshake
I think we really need this, so we need to get this running locally and then figure out where the issue is.