void (DebugEnvironment environment, Runnable detachVm, Runnable vmReadyCallback) { reattach(environment.getRemoteConnection(), detachVm, () -> { createVirtualMachine(environment); vmReadyCallback.run(); }); }